Open Trolldemorted opened 2 years ago
I am running into this exact same issue.
Ironically RulesRequestSummary
exists, but the openapi name is just "summary" so you get the Summary?
property when generated hence the error.
I am currently looking into generating a client operation as a perfile and namespace as an option unless there is an easier way (please advise!)
This code generates invalid (not compiling) C# code:
Trying to build the output yields 37 compiler errors which are being caused by 3 problems:
Errors
is referenced but not defined (but a classErrors2
exists)Summary
is referenced but not definedMedia2
is referenced but not defined (but classesMedia
andMedia3
exist)Switching to System.Text.Json output does not help, I guess the usage multiple fields with the same names confused NSwag. Are there any workarounds I can employ? Being able to generate a C# twitter API would be super awesome.