mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-05 23:19:37 +00:00
Introduces the actionSummary property to OneBotAction and updates all action classes to provide concise summaries and improved descriptions. Refactors example imports for better modularity, adds new example files for guild and packet actions, and updates the OpenAPI schema generator to use the new summary and improved descriptions. This enhances API documentation clarity and consistency.
11 lines
303 B
TypeScript
11 lines
303 B
TypeScript
export const GuildActionsExamples = {
|
|
GetGuildList: {
|
|
payload: {},
|
|
response: [{ guild_id: '123456', guild_name: '测试频道' }],
|
|
},
|
|
GetGuildProfile: {
|
|
payload: { guild_id: '123456' },
|
|
response: { guild_id: '123456', guild_name: '测试频道', guild_display_id: '123' },
|
|
},
|
|
};
|