1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix swagger docs to match the opencontainers image-spec

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
This commit is contained in:
Tobias Gesellchen 2021-07-11 22:54:23 +02:00
parent ef44b22085
commit 8f75d8d4d5

View file

@ -11339,14 +11339,14 @@ paths:
description: | description: |
A descriptor struct containing digest, media type, and size. A descriptor struct containing digest, media type, and size.
properties: properties:
MediaType: mediaType:
type: "string" type: "string"
Size: size:
type: "integer" type: "integer"
format: "int64" format: "int64"
Digest: digest:
type: "string" type: "string"
URLs: urls:
type: "array" type: "array"
items: items:
type: "string" type: "string"
@ -11357,17 +11357,17 @@ paths:
items: items:
type: "object" type: "object"
properties: properties:
Architecture: architecture:
type: "string" type: "string"
OS: os:
type: "string" type: "string"
OSVersion: os.version:
type: "string" type: "string"
OSFeatures: os.features:
type: "array" type: "array"
items: items:
type: "string" type: "string"
Variant: variant:
type: "string" type: "string"
Features: Features:
type: "array" type: "array"
@ -11382,12 +11382,12 @@ paths:
URLs: URLs:
- "" - ""
Platforms: Platforms:
- Architecture: "amd64" - architecture: "amd64"
OS: "linux" os: "linux"
OSVersion: "" os.version: ""
OSFeatures: os.features:
- "" - ""
Variant: "" variant: ""
Features: Features:
- "" - ""
401: 401: