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/xnfProxy.yml | |
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/xnfProxy.yml')
-rw-r--r-- | cps-nf-proxy-rest/docs/openapi/xnfProxy.yml | 31 |
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 0000000000..0bb673ac3d --- /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 |