Jelajahi Sumber

Fix swagger docs to match the opencontainers image-spec

Signed-off-by: Tobias Gesellchen <tobias@gesellix.de>
Tobias Gesellchen 4 tahun lalu
induk
melakukan
8f75d8d4d5
1 mengubah file dengan 14 tambahan dan 14 penghapusan
  1. 14 14
      api/swagger.yaml

+ 14 - 14
api/swagger.yaml

@@ -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"
-                  OS: "linux"
-                  OSVersion: ""
-                  OSFeatures:
+                - architecture: "amd64"
+                  os: "linux"
+                  os.version: ""
+                  os.features:
                     - ""
                     - ""
-                  Variant: ""
+                  variant: ""
                   Features:
                   Features:
                     - ""
                     - ""
         401:
         401: