-
Notifications
You must be signed in to change notification settings - Fork 286
Description
Describe the bug
I have used tagGroup
to group paths in the side bar. However instead of grouping specific paths, it is grouping all paths in every group.
[ "docusaurus-plugin-openapi-docs", { id: "openapi", docsPluginId: "classic", config: { saviynt:{ specPath: "static/api-specs/saviynt-eic-api-5.0.yaml", outputDir: "docs/eic/", sidebarOptions: { groupPathsBy: "tagGroup", // categoryLinkSource: "tag", }, version: "5.0.0", // Current version label: "v5.0.0", // Current version label baseUrl: "/developer-portal/eic/rest/5.0", // Leading slash is important versions: { "2.0.0": { specPath: "static/api-specs/saviynt-eic-api-2.0.yaml", outputDir: "docs/eic/2.0", // No trailing slash label: "v2.0.0", baseUrl: "/developer-portal/eic/rest/2.0", // Leading slash is important }, }, } satisfies OpenApiPlugin.Options, } satisfies Plugin.PluginOptions, }, ], ],
Expected behavior
I should only group specific path listed under the tagGroup
Current behavior
It is grouping all paths
Possible solution
Steps to reproduce
-
OpenAPI Spec: https://github.com/saviynt/developer-portal/blob/main/static/api-specs/saviynt-eic-api-5.0.yaml
-
Generated Doc: https://saviynt.github.io/developer-portal/
Screenshots
- Link to project: https://github.com/saviynt/developer-portal
- Version : [email protected]