diff --git a/src/services/models/SecuritySchemes.ts b/src/services/models/SecuritySchemes.ts index fc5deda8..67055cad 100644 --- a/src/services/models/SecuritySchemes.ts +++ b/src/services/models/SecuritySchemes.ts @@ -7,6 +7,7 @@ export class SecuritySchemeModel { sectionId: string; type: OpenAPISecurityScheme['type']; description: string; + displayName: string; apiKey?: { name: string; in: OpenAPISecurityScheme['in']; @@ -27,6 +28,7 @@ export class SecuritySchemeModel { this.id = id; this.sectionId = SECURITY_SCHEMES_SECTION_PREFIX + id; this.type = info.type; + this.displayName = info['x-displayName'] || id; this.description = info.description || ''; if (info.type === 'apiKey') { this.apiKey = {