mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-08-29 13:26:05 +02:00
feat(openapi): refactor into indiv. files to match API & tpl routing
This commit is contained in:
32
public/openapi/api/reset/code.yaml
Normal file
32
public/openapi/api/reset/code.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
get:
|
||||
tags:
|
||||
- authentication
|
||||
summary: Get user password reset (step 2)
|
||||
parameters:
|
||||
- name: code
|
||||
in: path
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
example: testCode
|
||||
responses:
|
||||
"200":
|
||||
description: "A JSON object containing the 2nd step of the user password reset flow"
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
allOf:
|
||||
- type: object
|
||||
properties:
|
||||
valid:
|
||||
type: boolean
|
||||
code:
|
||||
type: string
|
||||
minimumPasswordLength:
|
||||
type: number
|
||||
minimumPasswordStrength:
|
||||
type: number
|
||||
title:
|
||||
type: string
|
||||
- $ref: ../../components/schemas/Breadcrumbs.yaml#/Breadcrumbs
|
||||
- $ref: ../../components/schemas/CommonProps.yaml#/CommonProps
|
||||
Reference in New Issue
Block a user