diff --git a/src/openapi/container/abt-container-tokens.yaml b/src/openapi/container/abt-container-tokens.yaml index 6ba69db..815c800 100644 --- a/src/openapi/container/abt-container-tokens.yaml +++ b/src/openapi/container/abt-container-tokens.yaml @@ -228,11 +228,21 @@ paths: schema: $ref: "#/components/schemas/SecurityValidateTokenBody" examples: - token: + validateOtpForAuth: value: { "otp": "123456" } + otpKeyForUnsecure: + value: + { + "unsecureOtpKey": "123456789123456789123456789abcde" + } + validateOtpForUnsecure: + value: + { + "unsecureOtp": "123456" + } responses: "200": description: OK @@ -408,10 +418,18 @@ components: description: Body for when the a token entry is validated type: object required: - - otp properties: otp: type : string description: >- OTP to be used to secure the token and retrieve the JWT at GBO + example: 123456 + unsecureOtpKey: + type : string + description: >- + Key used to validate the OTP at GBO for unsecuring a token + example: 123456789123456789123456789abcde + unsecureOtp: + description: >- + OTP to be used to unsecure the token at GBO example: 123456 \ No newline at end of file