You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
It's worth trying generator3.swagger.io or generator.swagger.io directly to see if there is an issue with the underlying Swagger Codegen. I would normally have though browser issue, but Chrome is supported so not sure.
Cany anyone else reproduce this with the standard Petstore example? Else we may need to close as an edge-case.
@ponelat this issue was back in August, after a couple of days it started working again. I tried to deploy my own docker container but the codegen wasn't working as well on that. Is codegen done somewhere else and not within the docker container? Is there a depency in the docker container causing the codegen not to work?
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.
The text was updated successfully, but these errors were encountered: