diff --git a/src/openapi/customers/SE-tat-security.yaml b/src/openapi/customers/SE-tat-security.yaml index c9d08a2..b1aacd7 100644 --- a/src/openapi/customers/SE-tat-security.yaml +++ b/src/openapi/customers/SE-tat-security.yaml @@ -92,6 +92,16 @@ paths: isSecured: true isAuthorized: false xTat: 12da8f2a-6390-408a-94eb-a6701b5daf27 + _links: { + "secure": { + "href": "/tokens/securetoken", + "method": "POST" + }, + "authorize": { + "href": "/tokens/authorizetoken", + "method": "POST" + } + } "400": description: Bad Request content: @@ -109,18 +119,6 @@ paths: status: 400 title: Invalid Parameter detail: Required parameter {0} is invalid. - "401": - description: Unauthorized - content: - application/json: - schema: - $ref: "#/components/schemas/ErrorResponse" - examples: - Unauthorized: - value: - status: 401 - title: Unauthorized - detail: Invalid Access Token "404": description: Not found content: @@ -132,19 +130,7 @@ paths: value: status: 404 title: Not Found - detail: TAT Account Not Found - "409": - description: Conflict - content: - application/json: - schema: - $ref: '#/components/schemas/ErrorResponse' - examples: - TAT Already Secured: - value: - status: 409 - title: Conflict - detail: TAT Already Secured + detail: XTAT Account Not Found "500": description: Internal server error content: @@ -153,7 +139,6 @@ paths: $ref: "#/components/schemas/ErrorResponse" example: error: An unknown error has occurred - /tokens/securetoken: parameters: - name: X-HTM-JWT-AUTH-HEADER @@ -206,6 +191,12 @@ paths: example: recipient: xxxxxx.user@gmail.com description: OTP Sent + _links: { + "verifyotp": { + "href": "/tokens/verifyotp", + "method": "POST" + } + } "400": description: Bad Request content: @@ -317,6 +308,12 @@ paths: example: recipient: xxxxxx.user@gmail.com description: OTP Sent + _links: { + "verifyotp": { + "href": "/tokens/verifyotp", + "method": "POST" + } + } "400": description: Bad Request content: