Skip to content

Commit

Permalink
refactor(#317) mentorBoardImage decorator body
Browse files Browse the repository at this point in the history
  • Loading branch information
2swo committed Mar 17, 2024
1 parent b691c2c commit 73f2989
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { applyDecorators } from '@nestjs/common';
import {
ApiBearerAuth,
ApiBody,
ApiOperation,
ApiParam,
ApiResponse,
Expand Down Expand Up @@ -80,5 +81,16 @@ export function ApiUpdateMentorBoardImage() {
}),
ApiBearerAuth('access-token'),
ApiParam({ name: 'mentorBoardId', example: 1 }),
ApiBody({
schema: {
type: 'form-data',
properties: {
files: { type: 'file' },
},
example: {
files: '고양이.png',
},
},
}),
);
}

0 comments on commit 73f2989

Please sign in to comment.