Improve doc
This commit is contained in:
@@ -221,5 +221,49 @@ export const schemas = {
|
||||
},
|
||||
},
|
||||
required: ['id', 'createdAt', 'name', 'type', 'datasize', 'md5']
|
||||
}
|
||||
},
|
||||
|
||||
Muting: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
id: {
|
||||
type: 'string',
|
||||
format: 'id',
|
||||
description: 'The unique identifier for this mute.',
|
||||
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
||||
},
|
||||
createdAt: {
|
||||
type: 'string',
|
||||
format: 'date-time',
|
||||
description: 'The date that the mute was created.'
|
||||
},
|
||||
mutee: {
|
||||
$ref: '#/components/schemas/User',
|
||||
description: 'The mutee.'
|
||||
},
|
||||
},
|
||||
required: ['id', 'createdAt', 'mutee']
|
||||
},
|
||||
|
||||
Blocking: {
|
||||
type: 'object',
|
||||
properties: {
|
||||
id: {
|
||||
type: 'string',
|
||||
format: 'id',
|
||||
description: 'The unique identifier for this block.',
|
||||
example: 'xxxxxxxxxxxxxxxxxxxxxxxx',
|
||||
},
|
||||
createdAt: {
|
||||
type: 'string',
|
||||
format: 'date-time',
|
||||
description: 'The date that the block was created.'
|
||||
},
|
||||
blockee: {
|
||||
$ref: '#/components/schemas/User',
|
||||
description: 'The blockee.'
|
||||
},
|
||||
},
|
||||
required: ['id', 'createdAt', 'blockee']
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user