Fix swagger docs to match the opencontainers image-spec

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Tobias Gesellchen 2021-07-11 22:54:23 +02:00 committed by Sebastiaan van Stijn
parent 7248ebcd7e
commit c0bc82cef1
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C

View file

@ -11309,14 +11309,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"
@ -11327,17 +11327,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"
@ -11352,12 +11352,12 @@ paths:
URLs:
- ""
Platforms:
- Architecture: "amd64"
OS: "linux"
OSVersion: ""
OSFeatures:
- architecture: "amd64"
os: "linux"
os.version: ""
os.features:
- ""
Variant: ""
variant: ""
Features:
- ""
401: