Skip to content

Commit 063ec0d

Browse files
committed
Allow circular flag in schema types
1 parent ec2e285 commit 063ec0d

File tree

1 file changed

+2
-0
lines changed
  • packages/docusaurus-plugin-openapi-docs/src/openapi

1 file changed

+2
-0
lines changed

packages/docusaurus-plugin-openapi-docs/src/openapi/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ export type SchemaObject = Omit<
359359
example?: any;
360360
deprecated?: boolean;
361361
"x-tags"?: string[];
362+
"x-circular-ref"?: boolean;
362363
"x-enumDescriptions"?: Record<string, string>;
363364
};
364365

@@ -392,6 +393,7 @@ export type SchemaObjectWithRef = Omit<
392393
externalDocs?: ExternalDocumentationObject;
393394
example?: any;
394395
deprecated?: boolean;
396+
"x-circular-ref"?: boolean;
395397
};
396398

397399
export interface DiscriminatorObject {

0 commit comments

Comments
 (0)