-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Bug] NSwag 14.0.4 ignores JsonIgnoreAttribute #4834
Comments
I had the exact same issue when I updated from NSwag 14.0.3 to 14.0.04. I didn't understand why I had a "new" property in my client. Using Thanks ! |
I think this PR here broke this: |
I'musing openApiToCSharpClient (nswag 14.0.7 version) [System.Text.Json.Serialization.JsonPropertyName("href")] Now its not showing [System.Text.Json.Serialization.JsonPropertyName("href")] what do i need to do in-order to fix it? |
… regression of RicoSuter#4733, v14.0.7
With NSwag 14.0.3 public properties with
[JsonIgnore]
were ignored. Now, they appear in the OpenApi document.It looks like the serializer has changed from Newtonsoft Json to System.Text Json.
The text was updated successfully, but these errors were encountered: