-
Notifications
You must be signed in to change notification settings - Fork 195
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
Required section property casing #227
Comments
I think it's related to #83 |
Yes, it can be related. My problem is on required section only, but I use JsonProperty with custom property name, that is the workaround suggested in the issue #83. |
As a default, Line 112 in c5d78bc
and here: Line 112 in c5d78bc
Let me take a look how I can configure the default behaviour. |
As workaroud I added Required = Required.Always on JsonPropertyAttributes that have PropertyName specified |
I have some properties decorated with JsonRequired attribute and JsonProperty attribute with custom property name specified.
In the properties section of swagger.json, property name respect casing of property name value of JSonProperty attribute, but in the required section the name is with first letter lower cased.
The text was updated successfully, but these errors were encountered: