diff --git a/src/utils.ts b/src/utils.ts index 62c182a..c8abb7b 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -316,7 +316,7 @@ export const filterPaths = ( const newPaths: Record = {} // exclude docs path and OpenAPI json path - const excludePaths = [`/${docsPath}`, `/${docsPath}/json`].map((p) => + const excludePaths = [`${docsPath}`, `${docsPath}/json`].map((p) => normalize(p) )