summaryrefslogtreecommitdiffstats
path: root/cps-nf-proxy-rest/docs/openapi/xnfProxy.yml
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/xnfProxy.yml
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/xnfProxy.yml')
-rw-r--r--cps-nf-proxy-rest/docs/openapi/xnfProxy.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/cps-nf-proxy-rest/docs/openapi/xnfProxy.yml b/cps-nf-proxy-rest/docs/openapi/xnfProxy.yml
new file mode 100644
index 000000000..0bb673ac3
--- /dev/null
+++ b/cps-nf-proxy-rest/docs/openapi/xnfProxy.yml
@@ -0,0 +1,31 @@
+helloWorld:
+ get:
+ tags:
+ - nf-proxy
+ summary: rest interface validation
+ operationId: helloWorld
+ responses:
+ 200:
+ $ref: 'components.yaml#/components/responses/Ok'
+ 400:
+ $ref: 'components.yaml#/components/responses/BadRequest'
+ 401:
+ $ref: 'components.yaml#/components/responses/Unauthorized'
+ 403:
+ $ref: 'components.yaml#/components/responses/Forbidden'
+
+helloError:
+ get:
+ tags:
+ - nf-proxy
+ summary: error handler validation
+ operationId: helloError
+ responses:
+ 200:
+ $ref: 'components.yaml#/components/responses/Ok'
+ 400:
+ $ref: 'components.yaml#/components/responses/BadRequest'
+ 401:
+ $ref: 'components.yaml#/components/responses/Unauthorized'
+ 403:
+ $ref: 'components.yaml#/components/responses/Forbidden' \ No newline at end of file