NSwag
NSwag copied to clipboard
Added option to use standard C# naming conventions (and more)
Added options to use standard C# naming conventions as well as the ability to generate a client without the Async suffix on functions when Async is the only API method supported. Also trimmed new lines from all the .liquid files to avoid conflicts on dangling spaces in diffs in the future.
Just checked in support for automatic rate limit handling (http status code 429) with the UI to optionally enable it.
I believe when I did this, it was not possible to modify the naming generator in NJsonSchema to support this, because the generator stuff is all handles in NSwag itself? Or are you suggesting that the default naming convention in NJsonSchema be changed to use correct C# naming conventions and get rid of the options and overrides to change it?
Or are you suggesting that the default naming convention in NJsonSchema be changed to use correct C# naming conventions and get rid of the options and overrides to change it?
Yes, i wonder how much we’d need to break?
Well I am all for making it the default naming convention since the other way was wrong :) But I do wonder if other folks using it might do a double take if they can't go back to what it was before?
are there any plans to resolve this? me and @christianerbsmehl would love to use nswag, but that naming issue is a showstopper for us.
I would like to see this merged in also. We are still using our own custom build of NSwag as it works for the purposes we need it for with all my patches. You can use my tree and build against that as an alternative?
https://github.com/kendallb/NSwag