Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor.swagger.io giving me a blank zip file #5208

Open
xavier-hernandez opened this issue Aug 6, 2024 · 1 comment
Open

editor.swagger.io giving me a blank zip file #5208

xavier-hernandez opened this issue Aug 6, 2024 · 1 comment

Comments

@xavier-hernandez
Copy link

  • OS: Windows 11
  • Browser: Chrome
  • Version: Version 127.0.6533.100 (Official Build) (64-bit)
  • Method of installation: editor.swagger.io
  • Swagger-Editor version:
  • Swagger/OpenAPI version: Swagger 2.0

Going to editor.swagger.io I load "Swagger Petstore 2.0" and try to generate server code (aspnetcore, or any other one) I get a corrupted file which appears to be empty. The file is about 520 bytes.

If I load Swagger Petstore - OpenAPI 3.0 the server code generation works.

@gosherlock
Copy link

Same issue here. When attempting to generate server code (any language), a 500 error is returned from generator.swagger.io/api/gen/download/<hash>. As a temporary workaround, I found that opening the download link in a new tab allows the download to work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants