feat(api-ref): show schema of a tag (#7297)

This commit is contained in:
Shahed Nasser
2024-05-10 21:07:35 +03:00
committed by GitHub
parent e960f10aba
commit 1a68f4602c
11 changed files with 368 additions and 77 deletions

View File

@@ -34,7 +34,7 @@ export default async function getPathsOfTag(
return {
...fileContent,
operationPath: `/${file
.replaceAll("_", "/")
.replaceAll(/(?<!\{[^}]*)_(?![^{]*\})/g, "/")
.replace(/\.[A-Za-z]+$/, "")}`,
}
})