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