jhthorsen / mojolicious-plugin-openapi

OpenAPI / Swagger plugin for Mojolicious

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

->openapi->valid_input mangles headers

tomascohen opened this issue · comments

Just that, once you call it, headers get touched in bad ways :-D

That is by design: Specifying a collectionFormat will turn the input data into an array. I think you might have been tricked by two things:

Also since a collectionFormat turns the string into an array, then you cannot validate the input twice.