From 94c8470fcca5d3837eed06f6161dfba20b369458 Mon Sep 17 00:00:00 2001 From: Paulo Ferreira Date: Mon, 4 Mar 2024 05:30:24 -0300 Subject: [PATCH] add @tag (#2) fix: missing tag in demo --- packages/create-koa-web/template-mini/src/app/api/user.ts | 1 + 1 file changed, 1 insertion(+) 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