summaryrefslogtreecommitdiffstats
path: root/cps-rest/docs/openapi/components.yml
diff options
context:
space:
mode:
authorJosephKeenan <joseph.keenan@est.tech>2022-01-14 12:37:45 +0000
committerJosephKeenan <joseph.keenan@est.tech>2022-01-27 13:16:43 +0000
commit9ae554ff421bdcee332b32d9d83a8213d4e20d3d (patch)
tree229499283eefdb033d6ac814881977355d509746 /cps-rest/docs/openapi/components.yml
parentdb1e983f40be1db7bca5acacf5a3369d74a29c95 (diff)
[TECHDEBT] Align CPS Core REST API Specification and Implementationmr/822/126608/10
Issue-ID: CPS-822 Signed-off-by: JosephKeenan <joseph.keenan@est.tech> Change-Id: I3179194fb6d7d7416d4f7e75ef51f05b6de89c10
Diffstat (limited to 'cps-rest/docs/openapi/components.yml')
-rw-r--r--cps-rest/docs/openapi/components.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/cps-rest/docs/openapi/components.yml b/cps-rest/docs/openapi/components.yml
index ff2816af6..694c2207a 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: {}