added api docs
This commit is contained in:
26
interface/api/verification/response/verification.yaml
Normal file
26
interface/api/verification/response/verification.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
components:
|
||||
schemas:
|
||||
VerificationResponseData:
|
||||
type: object
|
||||
additionalProperties: false
|
||||
required:
|
||||
- idempotencyKey
|
||||
- ttl_seconds
|
||||
- cooldown_seconds
|
||||
- target
|
||||
properties:
|
||||
idempotencyKey:
|
||||
type: string
|
||||
ttl_seconds:
|
||||
type: integer
|
||||
format: int32
|
||||
cooldown_seconds:
|
||||
type: integer
|
||||
format: int32
|
||||
target:
|
||||
type: string
|
||||
|
||||
VerifyResultData:
|
||||
oneOf:
|
||||
- $ref: ../../accounts/response/auth.yaml#/components/schemas/LoginData
|
||||
- $ref: ../../response/response.yaml#/components/schemas/SuccessResultData
|
||||
Reference in New Issue
Block a user