improve redoc documentation

This commit is contained in:
nicolas.dorier 2020-03-18 23:35:17 +09:00
parent 0a0d8d53a4
commit 65d26ad8a1
No known key found for this signature in database
GPG key ID: 6618763EF09186FE

View file

@ -134,13 +134,16 @@
"properties": {
"email": {
"type": "string",
"description": "The email of the new user",
"nullable": false
},
"password": {
"type": "string"
"type": "string",
"description": "The password of the new user"
},
"isAdministrator": {
"type": "boolean",
"description": "Make this user administrator (only if your APIKey has ServerManagment permission)",
"nullable": true,
"default": false
}
@ -253,17 +256,21 @@
"properties": {
"id": {
"type": "string",
"nullable": true
"description": "The id of the new user",
"nullable": false
},
"email": {
"type": "string",
"nullable": true
"description": "The email of the new user",
"nullable": false
},
"emailConfirmed": {
"type": "boolean"
"type": "boolean",
"description": "True if the email has been confirmed by the user"
},
"requiresEmailConfirmation": {
"type": "boolean"
"type": "boolean",
"description": "True if the email requires email confirmation to log in"
}
}
},