Code Review
/
cps.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
[TECHDEBT] Align CPS Core REST API Specification and Implementation
[cps.git]
/
cps-rest
/
docs
/
openapi
/
components.yml
diff --git
a/cps-rest/docs/openapi/components.yml
b/cps-rest/docs/openapi/components.yml
index
ff2816a
..
5f31569
100644
(file)
--- 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.
# ============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.
# ================================================================================
# 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
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: {}
NoContent:
description: No Content
content: {}