Open
Description
Describe the feature
A way to control what serializing options to use when parsing a request or generating a response using HttpResults
Use Case
- When parsing a request as of now and you're expecting for example camelCase. You would have to decorate your model props with
JsonPropertyName
that follows camelCase for it to be able to parse. Same when generating a response usingHttpResults
and you want it to return camelCase.
Proposed Solution
It would be nice to be able to set it in Startup
for all lambdas. For HttpResults
it would be enough to be able to inject it in somehow.
Other Information
No response
Acknowledgements
- I may be able to implement this feature request
- This feature might incur a breaking change
AWS .NET SDK and/or Package version used
Amazon.Lambda.Annotations 0.12.0
Targeted .NET Platform
.NET 6
Operating System and version
Windows 10