Skip to content

Commit 9360ebb

Browse files
committed
Update docs for nestjs-swagger-helper: Merge pull request #13 from hodfords-solutions/feat/support-api-permissions-decorator
feat: support api permission decorator
1 parent 39c0e51 commit 9360ebb

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pages/nestjs-swagger-helper/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ The library provides two decorators you can use:
6060
- `@ApiPublic`: Marks APIs as public.
6161
- `@ApiSetValue`: Typically used for login/signin APIs to automatically add a JWT token to Swagger when the request is
6262
successful.
63+
- `@ApiPermissions`: Used to document the permissions required for accessing specific API endpoints.
6364

6465
## License 📝
6566

0 commit comments

Comments
 (0)