open-api
open-api copied to clipboard
[openapi-request-coercer] global opt-in to strict coercion rules
Currently the library allows to opt-in to stric coercion rules on a parameter by parameter basis.
Proposal would be to extend the OpenAPIRequestCoercerArgs interface and introduce a new optional boolean member to let the user opt-in to strict coercion strategy for every parameter (without having to decorate each one of them).
Would you be open to this change, I'd gladly craft a PR to make that happen.