PaloAltoNetworks / PaloAltoNetworks/docusaurus-openapi-docs
infoPath is rendered with `//` in the URL
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.1k
- Forks
- 315
- Avg merge
- 7d 5h
- Merged PRs (30d)
- 7
Description
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?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading packages/docusaurus-plugin-openapi-docs/src/index.ts around lines 338-345 and packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/SecuritySchemes/index.tsx around line 52. Trace how the SecuritySchemas name becomes a URL, then verify that the generated link uses one slash and no longer leads to a 404.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- documentation, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100