1 /**
2 * @oas [post] /auth/verification/confirm
3 * operationId: PostVerificationConfirm
4 * summary: Create Verification
5 * description: Create a verification.
6 * x-authenticated: false
7 * requestBody:
8 * content:
9 * application/json:
10 * schema:
11 * type: object
12 * description: SUMMARY
13 * required:
14 * - code
15 * properties:
16 * code:
17 * type: string
18 * title: code
19 * description: The verification's code.
20 * code_provider:
21 * type: string
22 * title: code_provider
23 * description: The verification's code provider.
24 * x-codeSamples:
25 * - lang: Shell
26 * label: cURL
27 * source: |-
28 * curl -X POST '{backend_url}/auth/verification/confirm' \
29 * -H 'Content-Type: application/json' \
30 * --data-raw '{
31 * "code": "{value}"
32 * }'
33 * tags:
34 * - Verification
35 * responses:
36 * "200":
37 * description: OK
38 * "400":
39 * $ref: "#/components/responses/400_error"
40 * "401":
41 * $ref: "#/components/responses/unauthorized"
42 * "404":
43 * $ref: "#/components/responses/not_found_error"
44 * "409":
45 * $ref: "#/components/responses/invalid_state_error"
46 * "422":
47 * $ref: "#/components/responses/invalid_request_error"
48 * "500":
49 * $ref: "#/components/responses/500_error"
50 * x-since: 2.16.0
51 *
52 */
53