-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Failure trying to generate C# classes from Json file #591
Comments
Hello @RSuter any idea when it will be merged? |
There are some more problems... |
Ok, with the latest build it works for me. Please try it yourself: https://ci.appveyor.com/project/rsuter/nswag-25x6o/build/artifacts |
@RSuter thank you very much for promptly reply. The error was fixed. Now I have the code generated properly. Thanks! Side Note: The .msi from the build artifacts crash while installing. I took the .zip. |
@RSuter I found a bug... Types that comes from a |
I couldn't find "Version1" in the generated code... |
I'm trying to use NSwag (both UI and CLI) to generate C# classes from https://docs.docker.com/engine/api/v1.26/swagger.yaml
I converted it to Json using http://editor.swagger.io and the converted file is attached (renamed to txt).
swagger.txt
The error I have is as follow:
What is wrong? Appreciate any help.
Thanks!
The text was updated successfully, but these errors were encountered: