Improve doc

This commit is contained in:
syuilo
2019-02-24 19:42:26 +09:00
parent 02e4929a97
commit b67f3438e9
10 changed files with 133 additions and 6 deletions

View File

@ -52,6 +52,23 @@ export const meta = {
}
},
res: {
type: 'object',
properties: {
users: {
type: 'array',
items: {
type: 'User',
}
},
next: {
type: 'string',
format: 'id',
nullable: true
}
}
},
errors: {
noSuchUser: {
message: 'No such user.',