From 48830f146f6776afa180fefa101788b169bc841a Mon Sep 17 00:00:00 2001 From: "Rishi.Chail" Date: Mon, 9 Nov 2020 03:28:44 +0000 Subject: VSE: Create an anchor in the given dataspace MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Issue-ID: CPS-42 https://jira.onap.org/browse/CPS-42 Signed-off-by: Rishi Chail Change-Id: If67be6f13889808da4d9fe830595766af67e4fdf --- cps-rest/docs/api/swagger/openapi.yml | 38 +++++++++++++++++++++-------------- 1 file changed, 23 insertions(+), 15 deletions(-) mode change 100644 => 100755 cps-rest/docs/api/swagger/openapi.yml (limited to 'cps-rest/docs/api/swagger') diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml old mode 100644 new mode 100755 index 82f47c088..0c7c83c56 --- a/cps-rest/docs/api/swagger/openapi.yml +++ b/cps-rest/docs/api/swagger/openapi.yml @@ -81,26 +81,19 @@ paths: type: string requestBody: content: - multipart/form-data: + application/json: schema: - required: - - file - properties: - multipartFile: - type: string - description: multipartFile - format: binary + title: Anchor + description: anchor + $ref: '#/components/schemas/Anchor' required: true responses: - 200: - description: OK + 201: + description: Created content: application/json: schema: - type: object - 201: - description: Created - content: {} + type: string 401: description: Unauthorized content: {} @@ -370,4 +363,19 @@ paths: 404: description: Not Found content: {} -components: {} \ No newline at end of file +components: + schemas: + Anchor: + type: object + title: Anchor + required: + - anchorName + - namespace + - revision + properties: + anchorName: + type: string + namespace: + type: string + revision: + type: string \ No newline at end of file -- cgit 1.2.3-korg