Add OpenAPI v1.2 configuration to Docusaurus

This commit is contained in:
Amol
2026-05-11 19:16:05 +05:30
committed by GitHub
parent 1c0252ba71
commit 19f031a1c3
+6
View File
@@ -80,6 +80,12 @@ const config = {
specPath: "docs/API-docs/v1.1/opensign.yaml", // your v1.1 spec file
outputDir: "docs/API-docs/v1.1", // generated mdx + sidebar.js
sidebarOptions: { groupPathsBy: "tag" },
},
opensign_v1_2: {
// OpenAPI v1.2
specPath: "docs/API-docs/v1.2/opensign.yaml", // your v1.1 spec file
outputDir: "docs/API-docs/v1.2", // generated mdx + sidebar.js
sidebarOptions: { groupPathsBy: "tag" },
}
}
}