© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•6mo ago•
8 replies
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

upload video strategy in asp.net
C#CC# / help
4y ago
Swagger, openAPI specification
C#CC# / help
3y ago
Newtonsoft.Json json handling
C#CC# / help
2y ago
✅ JSON + ASP.NET attribute usage
C#CC# / help
2y ago