From: JosephKeenan Date: Thu, 10 Feb 2022 14:00:54 +0000 (+0000) Subject: [TECHDEBT] Align CPS Temporal REST API Specification X-Git-Tag: 1.1.0~5 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=986d2f8ff21e63cbfa2300ac54c19957334be781;p=cps%2Fcps-temporal.git [TECHDEBT] Align CPS Temporal REST API Specification Issue-ID: CPS-825 Signed-off-by: JosephKeenan Change-Id: Ibe0a2824c14646b28aec9558230d07fa75ce79f2 --- diff --git a/docs/_static/openapi/swagger/openapi.yml b/docs/_static/openapi/swagger/openapi.yml index a96947b..7c7a10d 100644 --- a/docs/_static/openapi/swagger/openapi.yml +++ b/docs/_static/openapi/swagger/openapi.yml @@ -75,14 +75,14 @@ paths: anchor: my-anchor data: status: UP - - '400': $ref: '#/components/responses/BadRequest' '401': $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' + '500': + $ref: '#/components/responses/InternalServerError' '/v1/dataspaces/{dataspace-name}/anchors/history': get: description: 'Read anchors data based on filter criteria provided in query parameters' @@ -128,6 +128,8 @@ paths: $ref: '#/components/responses/Unauthorized' '403': $ref: '#/components/responses/Forbidden' + '500': + $ref: '#/components/responses/InternalServerError' components: parameters: dataspaceName: @@ -217,6 +219,16 @@ components: status: 403 message: Forbidden error message details: Forbidden error details + 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 schemas: AnchorDetails: type: object