We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8eb8032 commit c748532Copy full SHA for c748532
1 file changed
packages/docusaurus-plugin-openapi-docs/src/types.ts
@@ -16,10 +16,12 @@ import {
16
17
export type {
18
PropSidebarItemCategory,
19
- SidebarItemLink,
+ // SidebarItemLink,
20
PropSidebar,
21
PropSidebarItem,
22
-} from "@docusaurus/plugin-content-docs-types";
+} from "@docusaurus/plugin-content-docs";
23
+
24
+export type { SchemaObject } from "./openapi/types";
25
export interface PluginOptions {
26
id?: string;
27
docsPluginId: string;
@@ -99,6 +101,10 @@ export interface ApiPageMetadata extends ApiMetadataBase {
99
101
type: "api";
100
102
api: ApiItem;
103
markdown?: string;
104
+ sampleResponses?: null | {
105
+ statusCodes: string[];
106
+ responseExamples: string; // compressed JSON
107
+ };
108
}
109
110
export interface ApiItem extends OperationObject {
0 commit comments