diff --git a/src/services/models/SecurityRequirement.ts b/src/services/models/SecurityRequirement.ts index ee2e594437..e35343ec72 100644 --- a/src/services/models/SecurityRequirement.ts +++ b/src/services/models/SecurityRequirement.ts @@ -22,7 +22,7 @@ export class SecurityRequirementModel { if (!scheme) { console.warn(`Non existing security scheme referenced: ${id}. Skipping`); - return null; + return undefined; } return {