summaryrefslogtreecommitdiffstats
path: root/cps-rest/docs/openapi/components.yml
diff options
context:
space:
mode:
authoraditya puthuparambil <aditya.puthuparambil@bell.ca>2022-02-02 10:51:58 +0000
committerGerrit Code Review <gerrit@onap.org>2022-02-02 10:51:58 +0000
commite40ad3de6b58e3f421f29e4550e35adebd38abe6 (patch)
tree20294305e5ac24e913b3b09b60ba4e67286a4caf /cps-rest/docs/openapi/components.yml
parentd72b27b95704803468f7812602b66220e2c71c7d (diff)
parent909a850a66c50eaff34e3c711f657ee12775d249 (diff)
Merge "[TECHDEBT] Align CPS Core REST API Specification and Implementation"
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 ff2816af6d..5f31569c9a 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: {}