-
Notifications
You must be signed in to change notification settings - Fork 679
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
Model and Model Schema camelcase in json #113
Comments
This is planned for the next major release (5.0). I'm actually working on it right now :-). I expect it to be merged into the swagger_2.0 branch either today or tomorrow. |
Nice! prevents me from having to add comments such as "note that you should use camelcase" etc :) |
Did this get merged? Was looking for this today as well |
I'm also waiting for this :) |
Swashbuckle 5.0 Alpha now available as a pre-release package. Corresponding docs available here. This release should resolve your issue. I would really appreciate you checking it out when you get a chance. If the problem is not resolved go ahead and re-open the issue with any additional information. Thanks |
Uncanny. Just searched for the package an hour ago as you were pushing it up. Thanks! |
Since c# members are Uppercase by convention, and json properties are lowercase by convention, there is a setting for your WebApi project to force the json formatter to automatically convert to lowercase:
It would be nice if swashbuckle automatically picks up on this contract (if at all possible, since the application_start method may run after/before the WebActivator?).
If not possible, it would be nice to have a configuration option that converts the documentation to accurately represent the web service.
The text was updated successfully, but these errors were encountered: