ota42y / openapi_parser

validate and coerce parameter using OpenAPI3 definition
MIT License
122 stars 87 forks source link

support coerce option in header #24

Open ota42y opened 5 years ago

ota42y commented 5 years ago

coerce option don't support in header https://github.com/ota42y/openapi_parser/blob/master/lib/openapi_parser/schemas/header.rb#L14

But OpenAPI allow integer so we should support coerce.

ota42y commented 5 years ago

I think we should create new option like header_coerce