From 909a850a66c50eaff34e3c711f657ee12775d249 Mon Sep 17 00:00:00 2001 From: JosephKeenan Date: Fri, 28 Jan 2022 10:02:24 +0000 Subject: [TECHDEBT] Align CPS Core REST API Specification and Implementation Issue-ID: CPS-822 Signed-off-by: JosephKeenan Change-Id: Idde7525628f7e1425602069e0d75506ac621113e --- cps-rest/docs/openapi/components.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'cps-rest/docs/openapi/components.yml') diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml index ff2816af6..5f31569c9 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 occurred NoContent: description: No Content content: {} -- cgit 1.2.3-korg