swagger-api / swagger-api/swagger-codegen

wrong zip generation

Open
#11,056 1 comment 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.