Added the openapi security header to all routes that need some kind of auth

ref #6
This commit is contained in:
2020-12-18 20:07:05 +01:00
parent e25fc795fe
commit cdfd0e0d64
8 changed files with 10 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ import { RunnerController } from './RunnerController';
@JsonController('/teams')
//@Authorized('RUNNERS:read')
@OpenAPI({ security: [{ "AuthToken": [] }] })
export class RunnerTeamController {
private runnerTeamRepository: Repository<RunnerTeam>;