diff options
author | JosephKeenan <joseph.keenan@est.tech> | 2022-01-28 11:22:22 +0000 |
---|---|---|
committer | JosephKeenan <joseph.keenan@est.tech> | 2022-01-28 16:14:47 +0000 |
commit | 71b072f3605b0b63d35e0db78e4c5903dc9a6c21 (patch) | |
tree | 475bdab4acf7d40a2a0842439471514d725c6799 /cps-ncmp-rest/docs/openapi/components.yaml | |
parent | 63132cec2c18363a8224646039cc23b6144d8e6c (diff) |
[TECHDEBT] Align CPS NCMP REST API Specification and Implementationmr/823/126847/3
- Updated ncmp.yml to align implementation with specification
- Added new Exception classes to differentiate between server NCMP
issues and client based NCMP issues
- Added 500 error to specification
- To be merged after https://gerrit.onap.org/r/c/cps/+/126848
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: If1c9c6c29c6ea2daa07753d7f766ef15c1ba4ca0
Diffstat (limited to 'cps-ncmp-rest/docs/openapi/components.yaml')
-rw-r--r-- | cps-ncmp-rest/docs/openapi/components.yaml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/cps-ncmp-rest/docs/openapi/components.yaml b/cps-ncmp-rest/docs/openapi/components.yaml index 021a79037d..ab70d43d71 100644 --- a/cps-ncmp-rest/docs/openapi/components.yaml +++ b/cps-ncmp-rest/docs/openapi/components.yaml @@ -382,3 +382,13 @@ components: NoContent: description: No Content content: {} + InternalServerError: + description: Internal Server Error + content: + application/json: + schema: + $ref: "#/components/schemas/ErrorMessage" + example: + status: 500 + message: Internal Server Error + details: Internal Server Error occured |