ota42y / openapi_parser

validate and coerce parameter using OpenAPI3 definition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

support coerce option in header

ota42y opened this issue · comments

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.

I think we should create new option like header_coerce