Browse code

Adjust swagger definitions

Signed-off-by: Tibor Vass <tibor@docker.com>

Tibor Vass authored on 2017/12/07 05:29:22
Showing 1 changed files
... ...
@@ -6764,6 +6764,28 @@ paths:
6764 6764
           schema:
6765 6765
             type: "object"
6766 6766
             properties:
6767
+              Platform:
6768
+                type: "object"
6769
+                required: [Name]
6770
+                properties:
6771
+                  Name:
6772
+                    type: "string"
6773
+              Components:
6774
+                type: "array"
6775
+                items:
6776
+                  type: "object"
6777
+                  x-go-name: ComponentVersion
6778
+                  required: [Name, Version]
6779
+                  properties:
6780
+                    Name:
6781
+                      type: "string"
6782
+                    Version:
6783
+                      type: "string"
6784
+                      x-nullable: false
6785
+                    Details:
6786
+                      type: "object"
6787
+                      x-nullable: true
6788
+
6767 6789
               Version:
6768 6790
                 type: "string"
6769 6791
               ApiVersion: