summaryrefslogtreecommitdiffstats
path: root/cps-nf-proxy-rest/docs/openapi/components.yaml
diff options
context:
space:
mode:
authorRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-01-22 12:53:01 +0200
committerRuslan Kashapov <ruslan.kashapov@pantheon.tech>2021-01-26 07:53:27 +0200
commit9f52f60a2e70f2344c671af28e62fe2315ee8e02 (patch)
treee02fff6a25ad49e177522e14ed3cc646d7ffd06f /cps-nf-proxy-rest/docs/openapi/components.yaml
parenta2f384de843c3c3f68d2d371d185c71a900e9810 (diff)
Initial cps-nf-proxy-rest module setup in CPS project
Issue-ID: CPS-171 Change-Id: I8998dc2818b6bc07fc4fe25a2d735b4ab8b4b817 Signed-off-by: Ruslan Kashapov <ruslan.kashapov@pantheon.tech>
Diffstat (limited to 'cps-nf-proxy-rest/docs/openapi/components.yaml')
-rw-r--r--cps-nf-proxy-rest/docs/openapi/components.yaml70
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 000000000..535219983
--- /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: {}