Improve doc

This commit is contained in:
syuilo 2019-02-24 19:27:32 +09:00
parent fcc6a65e08
commit 02e4929a97
No known key found for this signature in database
GPG Key ID: BDC4C49D06AB9D69
1 changed files with 11 additions and 4 deletions

View File

@ -33,7 +33,8 @@ export const schemas = {
id: {
type: 'string',
format: 'id',
description: 'The unique identifier for this User.'
description: 'The unique identifier for this User.',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
username: {
type: 'string',
@ -102,7 +103,8 @@ export const schemas = {
id: {
type: 'string',
format: 'id',
description: 'The unique identifier for this Note.'
description: 'The unique identifier for this Note.',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
createdAt: {
type: 'string',
@ -125,10 +127,12 @@ export const schemas = {
replyId: {
type: 'string',
format: 'id',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
renoteId: {
type: 'string',
format: 'id',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
reply: {
$ref: '#/components/schemas/Note'
@ -152,7 +156,8 @@ export const schemas = {
id: {
type: 'string',
format: 'id',
description: 'The unique identifier for this notification.'
description: 'The unique identifier for this notification.',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
createdAt: {
type: 'string',
@ -174,7 +179,8 @@ export const schemas = {
id: {
type: 'string',
format: 'id',
description: 'The unique identifier for this Drive file.'
description: 'The unique identifier for this Drive file.',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
createdAt: {
type: 'string',
@ -207,6 +213,7 @@ export const schemas = {
format: 'id',
nullable: true,
description: 'The parent folder ID of this Drive file.',
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
},
isSensitive: {
type: 'boolean',