Added openapi cookie security schema

ref #49
This commit is contained in:
2020-12-22 19:13:20 +01:00
parent a85e914759
commit dae51cfd47
10 changed files with 19 additions and 12 deletions

View File

@@ -10,7 +10,7 @@ import { RunnerController } from './RunnerController';
@Controller()
@Authorized(["RUNNER:IMPORT", "TEAM:IMPORT"])
@OpenAPI({ security: [{ "AuthToken": [] }] })
@OpenAPI({ security: [{ "AuthToken": [] }, { "RefreshTokenCookie": [] }] })
export class ImportController {
private runnerController: RunnerController;