swagger-api / swagger-api/swagger-codegen
SwaggerCodeGen not working any more?
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Right now the latest hosten version http://editor.swagger.io/ can't generate code for any platform. Not even with the initial example data used. I've tried to host an older Docker image but still the same error. Sorry for the short description, but pretty busy right now.
What's wrong here?
Things I've found out so far:
- Hosting your own editor is completly worthless since it is only a UI using "https://generator.swagger.io" as generator. This Url seams not to be adoptable? So I'm trying to redirect via hosts now. Please make this a parameter!
https://github.com/swagger-api/swagger-editor/issues/2127
Right now I can neither generate code nor host my own environment. And have no idea what to do.
Edit: Just built my own editor with changed urls for the generator and it works again. The latest image is ok, somehow the server (generator.swagger.io) seams to have issues.
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 with the editor's generator URL and the generator.swagger.io endpoint, then compare the latest and older Docker image behavior with the linked editor issue #2127. Done means code generation works for the initial example across a target platform, or the generator URL is configurable for self-hosted deployments. The report says a custom editor with changed URLs already works, so verify whether the issue remains before changing code.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100