aboutsummaryrefslogtreecommitdiffstats
path: root/cps-rest/docs/api/swagger/openapi.yml
diff options
context:
space:
mode:
Diffstat (limited to 'cps-rest/docs/api/swagger/openapi.yml')
-rwxr-xr-x[-rw-r--r--]cps-rest/docs/api/swagger/openapi.yml38
1 files changed, 23 insertions, 15 deletions
diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml
index 82f47c088f..0c7c83c561 100644..100755
--- 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