From cc611fc78212ef8c08f2463a366541df6723c8ab Mon Sep 17 00:00:00 2001 From: JakobKrieg Date: Wed, 9 Dec 2020 15:05:10 +0100 Subject: CDS API reference add request classes Issue-ID: CCSDK-3014 Change-Id: If0a0a6169ac43a66c3dc51639e3a22efa49dcba5 Signed-off-by: JakobKrieg --- .../media/cds-bp-processor-api-swagger.json | 23 ++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) (limited to 'docs/api-reference/media/cds-bp-processor-api-swagger.json') diff --git a/docs/api-reference/media/cds-bp-processor-api-swagger.json b/docs/api-reference/media/cds-bp-processor-api-swagger.json index a9f596527..af3ed94e6 100644 --- a/docs/api-reference/media/cds-bp-processor-api-swagger.json +++ b/docs/api-reference/media/cds-bp-processor-api-swagger.json @@ -64,7 +64,7 @@ "200" : { "description" : "OK", "schema" : { - "type" : "object" + "$ref" : "#/definitions/BlueprintModelSearch" } }, "500" : { @@ -129,7 +129,7 @@ "200" : { "description" : "OK", "schema" : { - "type" : "object" + "$ref" : "#/definitions/BlueprintModelSearch" } }, "404" : { @@ -249,7 +249,7 @@ "200" : { "description" : "OK", "schema" : { - "type" : "object" + "$ref" : "#/definitions/BlueprintModelSearch" } }, "503" : { @@ -277,7 +277,10 @@ "200" : { "description" : "successful operation", "schema" : { - "type" : "object" + "type" : "array", + "items" : { + "$ref" : "#/definitions/BlueprintModelSearch" + } } } } @@ -440,7 +443,7 @@ "200" : { "description" : "successful operation", "schema" : { - "type" : "object" + "$ref" : "#/definitions/BlueprintModelSearch" } } } @@ -465,7 +468,10 @@ "200" : { "description" : "successful operation", "schema" : { - "type" : "object" + "type" : "array", + "items" : { + "$ref" : "#/definitions/BlueprintModelSearch" + } } } } @@ -482,7 +488,8 @@ "parameters" : [ { "in" : "body", "name" : "body", - "required" : false, + "description" : "Blueprint and workflow identification", + "required" : true, "schema" : { "$ref" : "#/definitions/WorkFlowSpecRequest" } @@ -548,7 +555,7 @@ "200" : { "description" : "OK", "schema" : { - "type" : "object" + "$ref" : "#/definitions/BlueprintModelSearch" } }, "404" : { -- cgit 1.2.3-korg