From c0bc82cef1c7124540ddf67ef3cab3292e39cca9 Mon Sep 17 00:00:00 2001 From: Tobias Gesellchen Date: Sun, 11 Jul 2021 22:54:23 +0200 Subject: [PATCH] Fix swagger docs to match the opencontainers image-spec Signed-off-by: Tobias Gesellchen Signed-off-by: Sebastiaan van Stijn --- docs/api/v1.41.yaml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/api/v1.41.yaml b/docs/api/v1.41.yaml index 3a5a5fe373..6f7f994f60 100644 --- a/docs/api/v1.41.yaml +++ b/docs/api/v1.41.yaml @@ -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: