swagger-api / swagger-api/swagger-codegen
wrong zip generation
Nobody has claimed this yet.
- Dominant language
- Mustache
- Stars
- 17.8k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Description
I try to generate zip from any swagger script with the online swagger editor for any server or client platforms..
The downloaded zip is broken.
In the browser console I see two errors:
Failed to load resource: net::ERR_BLOCKED_BY_CLIENT https://www.google-analytics.com/analytics.js
Failed to load resource: the server responded with a status of 500 () https://generator.swagger.io/api/gen/download/526d2388-a819-432a-812e-66653fcf4b58
Surrounding
The online editors version from the following browsers: firefox, chromium edge, google chrome.
I tried it from multiple pc-s but all of them were here in hungary.
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 zip generation in the online Swagger Editor, then inspect the browser request to https://generator.swagger.io/api/gen/download/526d2388-a819-432a-812e-66653fcf4b58 and its 500 response. Done means generated archives download successfully instead of being broken for the reported editor and browser scenarios.
Written by the indexing model from the issue text.
Assessment
- Domain
- backend-api-design, tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100