Hello,
There is several issues in compiling Controller code for .NET Core 2.1 / ASP.NET Core 2.1.1 - I cannot compile the code. Is it my mistake?
Best wishes!
I fixed compile time errors overriding the liquid template. Tomorrow I will check if it works functionality-wise and create a PR to fix the issues.
Is there a work-around until the CreateResponse issue is fixed?
I started to rewrite the template but saw that it's not about simply fixing this issues. It also does not generate model code and it misses verification code. Overall impression is that NSwag is more thought to generate Swagger specs from .NET Code, but not to generate (powerful) .NET Code from Swagger.
Thats the reason why I moved to OpenAPI-Generator for now. I want to have spec first, code second. Sorry, I unfortunately do not have the resources right now to fix the issues for NSwag.
Most helpful comment
I fixed compile time errors overriding the liquid template. Tomorrow I will check if it works functionality-wise and create a PR to fix the issues.