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

@@ -12,7 +12,7 @@ import { RunnerTeamController } from './RunnerTeamController';
@JsonController('/organisations')
//@Authorized('RUNNERS:read')
@OpenAPI({ security: [{ "AuthToken": [] }] })
export class RunnerOrganisationController {
private runnerOrganisationRepository: Repository<RunnerOrganisation>;