Open galvesribeiro opened 7 years ago
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 $ref
tag on json, are not being re-utilized... They are being duplicated for example look at Version
. The C# code is havin Version1, 2, 3, X... One for each $ref
...
I couldn't find "Version1" in the generated code... I think the problem is that these enums are not referenced/reused with $ref.
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!