OpenApi Generated Schema Casing #1980
Replies: 1 comment
-
Closed this as it might be better suited for microsoft/aspnetcore |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey. I'm looking for a bit of advice. I've created a new Web API using .NET 9. I'm using the new OpenAPI generator, Scalar API interface and FastEndpoints.
FastEndpoints is configured to serialize/deserialize request and response bodies with the SnakeCaseLower naming policy. However, I'm noticing the schemas generated by OpenAPI continue to use camelCase for the property names.
I've looked through the available documentation and I can't seem to find any hints how to configure the schema generation to use SnakeCaseLower. I've tried to mess with the schema transformers but without much luck. Has anyone tackled this issue already?
Beta Was this translation helpful? Give feedback.
All reactions