This commit is contained in:
Stephan D
2026-02-27 01:29:57 +01:00
parent 560e2213b5
commit 7d6d7c3f56
47 changed files with 196 additions and 73 deletions

View File

@@ -1,6 +1,9 @@
post:
tags: [Verification, Auth]
summary: Request verification code
description: |
Creates a verification challenge for the specified purpose/target.
For `purpose=login`, request must be authorized with a pending account token.
operationId: verificationRequestCode
security:
- bearerAuth: []

View File

@@ -5,7 +5,6 @@ components:
additionalProperties: false
required:
- purpose
- idempotencyKey
properties:
purpose:
type: string

View File

@@ -1,6 +1,9 @@
post:
tags: [Verification, Auth]
summary: Resend verification code
description: |
Re-issues a verification challenge using the same request shape as `/verification`.
Cooldown and retry limits are enforced by backend verification storage policy.
operationId: verificationResendCode
security:
- bearerAuth: []

View File

@@ -1,6 +1,9 @@
post:
tags: [Verification, Auth]
summary: Verify code and complete pending flow
description: |
Verifies submitted code and consumes verification token.
For login purpose, returns full auth payload (access + refresh tokens); for other purposes returns operation result.
operationId: verificationVerifyCode
security:
- bearerAuth: []