Skip to content

Commit b4b469e

Browse files
gesellixthaJeztah
authored andcommitted
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> (cherry picked from commit c0bc82c) Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
1 parent 2c38a2a commit b4b469e

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

docs/api/v1.41.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11301,14 +11301,14 @@ paths:
1130111301
description: |
1130211302
A descriptor struct containing digest, media type, and size.
1130311303
properties:
11304-
MediaType:
11304+
mediaType:
1130511305
type: "string"
11306-
Size:
11306+
size:
1130711307
type: "integer"
1130811308
format: "int64"
11309-
Digest:
11309+
digest:
1131011310
type: "string"
11311-
URLs:
11311+
urls:
1131211312
type: "array"
1131311313
items:
1131411314
type: "string"
@@ -11319,17 +11319,17 @@ paths:
1131911319
items:
1132011320
type: "object"
1132111321
properties:
11322-
Architecture:
11322+
architecture:
1132311323
type: "string"
11324-
OS:
11324+
os:
1132511325
type: "string"
11326-
OSVersion:
11326+
os.version:
1132711327
type: "string"
11328-
OSFeatures:
11328+
os.features:
1132911329
type: "array"
1133011330
items:
1133111331
type: "string"
11332-
Variant:
11332+
variant:
1133311333
type: "string"
1133411334
Features:
1133511335
type: "array"
@@ -11344,12 +11344,12 @@ paths:
1134411344
URLs:
1134511345
- ""
1134611346
Platforms:
11347-
- Architecture: "amd64"
11348-
OS: "linux"
11349-
OSVersion: ""
11350-
OSFeatures:
11347+
- architecture: "amd64"
11348+
os: "linux"
11349+
os.version: ""
11350+
os.features:
1135111351
- ""
11352-
Variant: ""
11352+
variant: ""
1135311353
Features:
1135411354
- ""
1135511355
401:

0 commit comments

Comments
 (0)