swagger-api / swagger-api/swagger-ui
Support for a relative url parameter is not complete in 3.0.7
Open
Nobody has claimed this yet.
cat: user experience
P2
type: bug
version: 3.x
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Hi, when I enter a relative 'url' parameter in a browser, when requesting Swagger UI (3.0.7), I still see 3 minor issues:
- Relative url value is still shown the Explore window, in UI 2.x it was correctly converted to the absolute URL
- Application Link text (directly under a [Base url ...]) still shows a relative url, while the actual link value is correct
- Online Validator fails because a relative url is submitted to it
I can provide the attachments if it can help, thanks
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 reproducing the relative url parameter behavior in Swagger UI 3.0.7. Trace how that value is displayed in the Explore window and Application Link and submitted to the Online Validator; done means all three use the expected absolute URL behavior described in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100