mirror of
https://github.com/Redocly/redoc.git
synced 2025-02-07 13:30:33 +03:00
fix: fix crash when referencing non-existing security scheme
This commit is contained in:
parent
73b2126d54
commit
1f7fc44292
|
@ -22,7 +22,7 @@ export class SecurityRequirementModel {
|
|||
|
||||
if (!scheme) {
|
||||
console.warn(`Non existing security scheme referenced: ${id}. Skipping`);
|
||||
return null;
|
||||
return undefined;
|
||||
}
|
||||
|
||||
return {
|
||||
|
|
Loading…
Reference in New Issue
Block a user