fix(backend): add response schema for notes/show-partial-bulk endpoint (#16093)

This commit is contained in:
zyoshoka 2025-05-25 08:38:45 +09:00 committed by GitHub
parent 0504d4399c
commit ed3a844f5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 29 additions and 2 deletions

View File

@ -19,7 +19,26 @@ export const meta = {
optional: false, nullable: false,
items: {
type: 'object',
optional: false, nullable: false,
properties: {
id: {
type: 'string',
optional: false, nullable: false,
},
reactions: {
type: 'object',
optional: false, nullable: false,
additionalProperties: {
type: 'number',
},
},
reactionEmojis: {
type: 'object',
optional: false, nullable: false,
additionalProperties: {
type: 'string',
},
},
},
},
},

View File

@ -25919,7 +25919,15 @@ export type operations = {
/** @description OK (with results) */
200: {
content: {
'application/json': Record<string, never>[];
'application/json': {
id: string;
reactions: {
[key: string]: number;
};
reactionEmojis: {
[key: string]: string;
};
}[];
};
};
/** @description Client error */