Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions demo/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,19 @@ const config: Config = {
hideSendButton: false,
showSchemas: true,
} satisfies OpenApiPlugin.Options,
petstore31: {
specPath: "examples/petstore-3.1.yaml",
proxy: "https://cors.pan.dev",
outputDir: "docs/petstore31",
sidebarOptions: {
groupPathsBy: "tag",
categoryLinkSource: "tag",
},
template: "api.mustache", // Customize API MDX with mustache template
downloadUrl: "/petstore-3.1.yaml",
hideSendButton: false,
showSchemas: true,
} satisfies OpenApiPlugin.Options,
cos: {
specPath: "examples/openapi-cos.json",
outputDir: "docs/cos",
Expand Down
Loading
Loading