1
0
forked from mirror/misskey

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

View File

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