diff options
author | JosephKeenan <joseph.keenan@est.tech> | 2022-01-28 10:02:24 +0000 |
---|---|---|
committer | JosephKeenan <joseph.keenan@est.tech> | 2022-01-28 12:33:28 +0000 |
commit | 3c8f982b00c1f20981cecdd25ebb5a027e674cd3 (patch) | |
tree | c41f042edcf0e39b496b0faf5814b22c22ac7c63 /cps-rest/docs/openapi/components.yml | |
parent | a5ce86d02493f141848f9d609c65883d2198894a (diff) |
[TECHDEBT] Align CPS Core REST API Specification and Implementationmr/822/126848/5
Issue-ID: CPS-822
Signed-off-by: JosephKeenan <joseph.keenan@est.tech>
Change-Id: Idde7525628f7e1425602069e0d75506ac621113e
Diffstat (limited to 'cps-rest/docs/openapi/components.yml')
-rw-r--r-- | cps-rest/docs/openapi/components.yml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml index ff2816af6d..694c2207af 100644 --- a/cps-rest/docs/openapi/components.yml +++ b/cps-rest/docs/openapi/components.yml @@ -1,5 +1,6 @@ # ============LICENSE_START======================================================= # Copyright (c) 2021 Bell Canada. +# Modifications Copyright (C) 2021-2022 Nordix Foundation # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -277,6 +278,16 @@ components: schema: type: string example: my-resource + 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 NoContent: description: No Content content: {} |