浏览代码

api: docs: remove deprecated RootFS.BaseLayer (current API version)

This field was used when Windows did not yet support regular images, and required
the base-image to pre-exist on the Windows machine (as those layers were not yet
allowed to be distributed).

Commit f342b27145d8f5af27cd5de1501551af275e899b (docker 1.13.0, API v1.25) removed
usage of the field. The field was not documented in the API, but because it was not
removed from the Golang structs in the API, ended up in the API documentation when
we switched to using Swagger instead of plain MarkDown for the API docs.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Sebastiaan van Stijn 3 年之前
父节点
当前提交
fd1f34cacd
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 0 4
      api/swagger.yaml

+ 0 - 4
api/swagger.yaml

@@ -1713,10 +1713,6 @@ definitions:
             example:
               - "sha256:1834950e52ce4d5a88a1bbd131c537f4d0e56d10ff0dd69e66be3b7dfa9df7e6"
               - "sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef"
-          BaseLayer:
-            type: "string"
-            x-nullable: true
-            example: ""
       Metadata:
         description: |
           Additional metadata of the image in the local cache. This information