Added the openapi security header to all routes that need some kind of auth
ref #6
This commit is contained in:
1 parent
e25fc795fe
commit
cdfd0e0d64
8 files changed
+10
-8
No files matched your search
@@ -12,7 +12,7 @@ import { ResponsePrincipal } from '../models/responses/ResponsePrincipal';
|
||||
|
||||
|
||||
@JsonController('/permissions')
|
||||
//@Authorized('RUNNERS:read')
|
||||
@OpenAPI({ security: [{ "AuthToken": [] }] })
|
||||
export class PermissionController {
|
||||
private permissionRepository: Repository<Permission>;
|
||||
|
||||
|
||||
Reference in new issue
Block a user