From 87ebfa11f66d2109054ad3024217a5101b45aa8c Mon Sep 17 00:00:00 2001 From: Tibor Vass Date: Wed, 6 Dec 2017 21:29:22 +0100 Subject: [PATCH] Adjust swagger definitions Signed-off-by: Tibor Vass --- api/swagger.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/api/swagger.yaml b/api/swagger.yaml index 96386e0599..de45301b06 100644 --- a/api/swagger.yaml +++ b/api/swagger.yaml @@ -6764,6 +6764,28 @@ paths: schema: type: "object" properties: + Platform: + type: "object" + required: [Name] + properties: + Name: + type: "string" + Components: + type: "array" + items: + type: "object" + x-go-name: ComponentVersion + required: [Name, Version] + properties: + Name: + type: "string" + Version: + type: "string" + x-nullable: false + Details: + type: "object" + x-nullable: true + Version: type: "string" ApiVersion: