open-api icon indicating copy to clipboard operation
open-api copied to clipboard

[openapi-request-coercer] global opt-in to strict coercion rules

Open nulltoken opened this issue 6 years ago • 0 comments

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.

nulltoken avatar Oct 26 '19 10:10 nulltoken