Email change on user
This commit is contained in:
+13
-4
@@ -254,7 +254,12 @@ paths:
|
||||
$ref: "#/components/schemas/FailedUpdateResponse"
|
||||
examples:
|
||||
Failed:
|
||||
value: { "code": "FailedUpdate", "fields": ["content"] }
|
||||
value:
|
||||
{
|
||||
"code": "FailedUpdate",
|
||||
"fields": ["content"],
|
||||
"reasons": ["string"],
|
||||
}
|
||||
tags:
|
||||
- Post
|
||||
delete:
|
||||
@@ -481,7 +486,8 @@ paths:
|
||||
value:
|
||||
{
|
||||
"code": "FailedUpdate",
|
||||
"fields": ["username", "password", "image"],
|
||||
"fields": ["username", "password", "email"],
|
||||
"reasons": ["string", "string", "string"],
|
||||
}
|
||||
tags:
|
||||
- User
|
||||
@@ -572,6 +578,10 @@ components:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
reasons:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
ErrorResponse:
|
||||
type: object
|
||||
properties:
|
||||
@@ -629,9 +639,8 @@ components:
|
||||
type: string
|
||||
password:
|
||||
type: string
|
||||
image:
|
||||
email:
|
||||
type: string
|
||||
format: binary
|
||||
RegisterRequest:
|
||||
type: object
|
||||
required:
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user