Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

infoPath is rendered with // in the URL #1063

Open
omonk opened this issue Jan 13, 2025 · 0 comments
Open

infoPath is rendered with // in the URL #1063

omonk opened this issue Jan 13, 2025 · 0 comments

Comments

@omonk
Copy link
Contributor

omonk commented Jan 13, 2025

let infoBasePath = `${outputDir}/${item.infoId}`;
if (docRouteBasePath) {
infoBasePath = `${docRouteBasePath}/${outputDir
.split(docPath!)[1]
.replace(/^\/+/g, "")}/${item.infoId}`.replace(/^\/+/g, "");
}
if (item.infoId) item.infoPath = infoBasePath;
}

We have an issue where the SecuritySchemas name: [name_of_security_schema] is rendered with two // in the URL path which when clicked on leads to the 404 page.

I've taken a look through the code but im pretty confused by it. Any ideas where I might be able to correct my schema or plugin config to avoid this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant