summaryrefslogtreecommitdiffstats
path: root/openapi/components.yml
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2022-01-24 14:57:28 +0000
committerGerrit Code Review <gerrit@onap.org>2022-01-24 14:57:28 +0000
commitffac59899b275d47541d0e8cf1e0052a5f0e51df (patch)
tree3837584524ed3783b59517ddcea3da28cac48ba2 /openapi/components.yml
parentdffff5df568b0f7654dcf019cee2333b29db09e2 (diff)
parentbdcccb58d65b6d8ee0f07304e635b415041fe36f (diff)
Merge "Align DMI Plugin REST API Specification and Implementation"
Diffstat (limited to 'openapi/components.yml')
-rw-r--r--openapi/components.yml31
1 files changed, 5 insertions, 26 deletions
diff --git a/openapi/components.yml b/openapi/components.yml
index bf271bb4..bf91cd23 100644
--- a/openapi/components.yml
+++ b/openapi/components.yml
@@ -118,26 +118,6 @@ components:
status: 400
message: Bad Request
details: The provided request is not valid
- Unauthorized:
- description: Unauthorized
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- example:
- status: 401
- message: Unauthorized request
- details: This request is unauthorized
- Forbidden:
- description: Forbidden
- content:
- application/json:
- schema:
- $ref: '#/components/schemas/ErrorMessage'
- example:
- status: 403
- message: Request Forbidden
- details: This request is forbidden
NotFound:
description: The specified resource was not found
content:
@@ -148,17 +128,16 @@ components:
status: 404
message: Resource Not Found
details: The requested resource is not found
- Conflict:
- description: Conflict
+ ServerError:
+ description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorMessage'
example:
- status: 409
- message: Conflicting request
- details: The request cannot be processed as the resource is in use.
-
+ status: 500
+ message: Internal Server Error
+ details: Internal Server Error occured
parameters:
cmHandleInPath:
name: cmHandle