diff --git a/packages/create-koa-web/template-mini/src/app/api/user.ts b/packages/create-koa-web/template-mini/src/app/api/user.ts index 400b8f5..b1496d5 100644 --- a/packages/create-koa-web/template-mini/src/app/api/user.ts +++ b/packages/create-koa-web/template-mini/src/app/api/user.ts @@ -52,6 +52,7 @@ export default class UserController { @request('put', '') @summary('modify user') @description('example: /user') + @tag @body(passwordSchema) async update(ctx: Context) { const user = ctx.validatedBody