Replies: 3 comments
-
Facing this exact issue today. |
Beta Was this translation helpful? Give feedback.
0 replies
-
I actually realized that my issue was the query string working differently than the global serialization options. As that uses model binding vs json serialization options. When I changed everything to snake case the document changed the request parameter to snake case as well. But it doesn’t deserialize correctly. |
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
-
Hi!
I'm writing an application that requires both request paramenters and response body to be in snake_case
With the following code I've managed to serialize the response, but it doesn't affect the request deserialization.
Worth say that what I mean by request isn't the body, but the query parameters. At the endpoint I'm getting the query string with the
AsParameters
I'm running 8.0.100-preview.6.23330.14
Beta Was this translation helpful? Give feedback.
All reactions