hapi-openapi
hapi-openapi copied to clipboard
does not validate a query parameter when a single item is sent
When you define an endpoint with:
parameters:
- name: role
schema:
type: array
items:
type: string
required: false
in: query
sending ?role=xxx return a 400, ?role=xxx&role=yyy works