Skip to content

Commit

Permalink
add @tag (#2)
Browse files Browse the repository at this point in the history
fix: missing tag in demo
  • Loading branch information
PauloFerreira25 authored Mar 4, 2024
1 parent f5939f2 commit 94c8470
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/create-koa-web/template-mini/src/app/api/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 94c8470

Please sign in to comment.