Skip to content

Commit

Permalink
fix: properly exclude docs path
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 committed Oct 19, 2024
1 parent 20f92b5 commit 01fdd5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export const filterPaths = (
const newPaths: Record<string, any> = {}

// exclude docs path and OpenAPI json path
const excludePaths = [`/${docsPath}`, `/${docsPath}/json`].map((p) =>
const excludePaths = [`${docsPath}`, `${docsPath}/json`].map((p) =>
normalize(p)
)

Expand Down

0 comments on commit 01fdd5c

Please sign in to comment.