chore: updated docs
This commit is contained in:
@@ -32,11 +32,8 @@ definitions:
|
||||
email:
|
||||
type: string
|
||||
password:
|
||||
description: 'TODO: password checking'
|
||||
type: string
|
||||
username:
|
||||
maxLength: 20
|
||||
minLength: 3
|
||||
type: string
|
||||
required:
|
||||
- password
|
||||
@@ -44,17 +41,11 @@ definitions:
|
||||
type: object
|
||||
models.RegistrationCompleteRequest:
|
||||
properties:
|
||||
avatar_url:
|
||||
maxLength: 255
|
||||
type: string
|
||||
birthday:
|
||||
type: string
|
||||
name:
|
||||
maxLength: 75
|
||||
type: string
|
||||
username:
|
||||
maxLength: 20
|
||||
minLength: 3
|
||||
type: string
|
||||
verification_code:
|
||||
type: string
|
||||
@@ -157,7 +148,9 @@ paths:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: desc
|
||||
description: Account is created and awaiting verification
|
||||
"409":
|
||||
description: Username or email is already taken
|
||||
summary: Register an account
|
||||
tags:
|
||||
- Auth
|
||||
|
||||
Reference in New Issue
Block a user