C#C
C#4mo ago
Swyftey

✅ Asp.Net 9 OpenAPI Swagger UI not using Newtonsoft JSON Snake Case strategy

Hi,

How can I get the Swagger UI for OpenAPI to work with Newtonsoft JSON for Snake Case?

I've tried:

  • Setting attributes on the body input DTO (JsonObject, JsonPropertyName)
  • Making a snake case Schema and Document filter
How can I fix this?
devenv_9PCRgHyb8C.png
devenv_5QenKbfj7O.png
Was this page helpful?