chore: improve after review

This commit is contained in:
Alex Varchuk 2022-07-06 15:43:38 +03:00
parent dd0a6cbf4f
commit 2a737ccc23
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,6 @@ export class OpenAPIParser {
specUrl?: string; specUrl?: string;
spec: OpenAPISpec; spec: OpenAPISpec;
// private _refCounter: RefCounter = new RefCounter();
private readonly allowMergeRefs: boolean = false; private readonly allowMergeRefs: boolean = false;
constructor( constructor(

View File

@ -636,6 +636,8 @@ export const shortenHTTPVerb = verb =>
export function isRedocExtension(key: string): boolean { export function isRedocExtension(key: string): boolean {
const redocExtensions = { const redocExtensions = {
'x-circular-ref': true, 'x-circular-ref': true,
'x-parentRefs': true,
'x-refsStack': true,
'x-code-samples': true, // deprecated 'x-code-samples': true, // deprecated
'x-codeSamples': true, 'x-codeSamples': true,
'x-displayName': true, 'x-displayName': true,