浏览代码

Add swagger spec for /info Log plugins

The `Log` field for plugins was added to `/info` in
17abacb8946ed89496fcbf07a0288fafe24cb7b0 but the swagger spec was not
updated.
This just updates the spec to match reality.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
Brian Goff 8 年之前
父节点
当前提交
146e058592
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 4 0
      api/swagger.yaml
  2. 2 0
      docs/api/version-history.md

+ 4 - 0
api/swagger.yaml

@@ -5215,6 +5215,10 @@ paths:
                     type: "array"
                     items:
                       type: "string"
+                  Log:
+                    type: "array"
+                    items:
+                      type: "string"
               ExperimentalBuild:
                 type: "boolean"
               HttpProxy:

+ 2 - 0
docs/api/version-history.md

@@ -17,6 +17,8 @@ keywords: "API, Docker, rcli, REST, documentation"
 
 [Docker Engine API v1.30](https://docs.docker.com/engine/api/v1.30/) documentation
 
+* `GET /info` now returns the list of supported logging drivers, including plugins.
+
 ## v1.29 API changes
 
 [Docker Engine API v1.29](https://docs.docker.com/engine/api/v1.29/) documentation