swagger-api / swagger-api/swagger-ui
The query string 'url' and 'filter' are invalid
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
when I use docker.io/swaggerapi/swagger-ui:v4.1.2, I can use http://domain?url=xxx.yaml&filter=true to directly access xxx.yaml when opening the page, and display the filter.
from docker.io/swaggerapi/swagger-ui:v4.1.3 to docker.io/swaggerapi/swagger-ui:v4.10.3, the query string 'url' and 'filter' are invalid.
- OS: macOS
- Browser: firefox
- Version: 99.0.1
- Method of installation: docker
- Swagger-UI version: 4.1.3 to 4.10.3
- Swagger/OpenAPI version: OpenAPI 3.0
?yourQueryStringConfig
?url=path_to_yaml_url&filter=true
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
Reproduce the behavior with the Docker images from v4.1.2 through v4.10.3 using ?url=path_to_yaml_url&filter=true in Firefox. Compare the query-string behavior across versions and trace the Swagger UI entry point that handles these parameters. Done means both parameters load the YAML and display the filter as they did in v4.1.2.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, javascript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100