Skip to content

Commit

Permalink
update: client swagger basic
Browse files Browse the repository at this point in the history
  • Loading branch information
siwonpada committed Sep 2, 2024
1 parent 7745f38 commit 0812fc1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/client/client.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
ValidationPipe,
} from '@nestjs/common';
import {
ApiBasicAuth,
ApiConflictResponse,
ApiCreatedResponse,
ApiForbiddenResponse,
Expand Down Expand Up @@ -82,6 +83,7 @@ export class ClientController {
@ApiUnauthorizedResponse()
@ApiForbiddenResponse()
@ApiInternalServerErrorResponse()
@ApiBasicAuth()
@Post('authority')
@UseGuards(ClientGuard)
async addAuthority(
Expand All @@ -99,6 +101,7 @@ export class ClientController {
@ApiUnauthorizedResponse()
@ApiForbiddenResponse()
@ApiInternalServerErrorResponse()
@ApiBasicAuth()
@Delete('authority')
@UseGuards(ClientGuard)
async removeAuthority(
Expand Down

0 comments on commit 0812fc1

Please sign in to comment.