aboutsummaryrefslogtreecommitdiffstats
path: root/cps-rest/docs/api/swagger/openapi.yml
diff options
context:
space:
mode:
authorToine Siebelink <toine.siebelink@est.tech>2020-12-01 15:34:10 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-01 15:34:10 +0000
commitc8f2136670321731ec97d027d427af2ec9fd1077 (patch)
tree704abe4b0d255c305ac3e08f2259ec2f0dd85b88 /cps-rest/docs/api/swagger/openapi.yml
parent8bd74157dbd47cdf52fffeda8ecd2ac8368cd994 (diff)
parent828136eb69a7b53939083b25f7c18a9ccb865376 (diff)
Merge "REST level exception handling cleanup"
Diffstat (limited to 'cps-rest/docs/api/swagger/openapi.yml')
-rwxr-xr-xcps-rest/docs/api/swagger/openapi.yml40
1 files changed, 25 insertions, 15 deletions
diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml
index 0c7c83c561..56a012ffe0 100755
--- a/cps-rest/docs/api/swagger/openapi.yml
+++ b/cps-rest/docs/api/swagger/openapi.yml
@@ -364,18 +364,28 @@ paths:
description: Not Found
content: {}
components:
- schemas:
- Anchor:
- type: object
- title: Anchor
- required:
- - anchorName
- - namespace
- - revision
- properties:
- anchorName:
- type: string
- namespace:
- type: string
- revision:
- type: string \ No newline at end of file
+ schemas:
+ ErrorMessage:
+ type: object
+ title: Error
+ properties:
+ status:
+ type: string
+ message:
+ type: string
+ details:
+ type: string
+ Anchor:
+ type: object
+ title: Anchor
+ required:
+ - anchorName
+ - namespace
+ - revision
+ properties:
+ anchorName:
+ type: string
+ namespace:
+ type: string
+ revision:
+ type: string