diff options
author | Toine Siebelink <toine.siebelink@est.tech> | 2021-01-27 17:34:57 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-01-27 17:34:57 +0000 |
commit | a54fd8a169e8e6ef74bdc06be78bbcd70d5f97b4 (patch) | |
tree | 41de9649b503bc9464755e064ec8e2a320d26973 /cps-nf-proxy-rest/docs/openapi/components.yaml | |
parent | 099f89eda3b0c94d20612ebf1d62795ab7dc833a (diff) | |
parent | 9f52f60a2e70f2344c671af28e62fe2315ee8e02 (diff) |
Merge "Initial cps-nf-proxy-rest module setup in CPS project"
Diffstat (limited to 'cps-nf-proxy-rest/docs/openapi/components.yaml')
-rw-r--r-- | cps-nf-proxy-rest/docs/openapi/components.yaml | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/cps-nf-proxy-rest/docs/openapi/components.yaml b/cps-nf-proxy-rest/docs/openapi/components.yaml new file mode 100644 index 0000000000..5352199834 --- /dev/null +++ b/cps-nf-proxy-rest/docs/openapi/components.yaml @@ -0,0 +1,70 @@ +components: + schemas: + ErrorMessage: + type: object + title: Error + properties: + status: + type: string + message: + type: string + details: + type: string + MultipartFile: + required: + - file + properties: + multipartFile: + type: string + description: multipartFile + format: binary + + parameters: + + + responses: + NotFound: + description: The specified resource was not found + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Unauthorized: + description: Unauthorized + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Forbidden: + description: Forbidden + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + BadRequest: + description: Bad Request + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Conflict: + description: Conflict + content: + application/json: + schema: + $ref: '#/components/schemas/ErrorMessage' + Ok: + description: OK + content: + application/json: + schema: + type: object + Created: + description: Created + content: + text/plain: + schema: + type: string + NoContent: + description: No Content + content: {} |