swagger-api / swagger-api/swagger-ui
override server url/host programmatically
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 29k
- Forks
- 9.3k
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 25
Description
Hi,
I have a requirement where for all the spec uploaded in swagger ui I need to use my custom server url instead of default server url defined in spec template files. I need to do these changes in the swagger ui code as we cannot change server url in template files.
Any pointer would be really helpful
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
The issue does not identify a file, test, or entry point. Start by tracing how Swagger UI loads OpenAPI specifications and resolves their server URLs, then determine where a programmatic override could apply to all uploaded specs. Done means a documented override works without changing the specification templates and existing behavior remains intact.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100