chore: 更新版本号至0.0.74,并在 QueryRouter 中添加 metadata 字段

This commit is contained in:
2026-02-18 03:25:09 +08:00
parent 074775985e
commit b2f718c492
2 changed files with 2 additions and 2 deletions

View File

@@ -680,7 +680,7 @@ export class QueryRouter {
});
ctx.body = {
list: list.map((item) => {
const route = pick(item, ['id', 'path', 'key', 'description', 'middleware'] as const);
const route = pick(item, ['id', 'path', 'key', 'description', 'middleware', 'metadata'] as const);
return toJSONSchema(route);
}),
isUser