feat: add JWT authentication requirement to announcements retrieval endpoint.
This commit is contained in:
parent
adbaaefc69
commit
52a013f431
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ export class AnnouncementsController {
|
||||||
* @param limit - จำนวนต่อหน้า / Items per page
|
* @param limit - จำนวนต่อหน้า / Items per page
|
||||||
*/
|
*/
|
||||||
@Get()
|
@Get()
|
||||||
|
@Security('jwt')
|
||||||
@SuccessResponse('200', 'Announcements retrieved successfully')
|
@SuccessResponse('200', 'Announcements retrieved successfully')
|
||||||
@Response('401', 'Unauthorized')
|
@Response('401', 'Unauthorized')
|
||||||
@Response('403', 'Forbidden')
|
@Response('403', 'Forbidden')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue