krakenjs / hapi-openapi

Build design-driven apis with OpenAPI (formerly swagger) 2.0 and hapi.
Other
211 stars 75 forks source link

serialization support #208

Open dcharbonnier opened 2 years ago

dcharbonnier commented 2 years ago

https://swagger.io/docs/specification/serialization/#query

Especially the deepObject is not supported.
Example :

- in: query
  name: filter
  required: false
  schema:
    type: object
    properties:
      website:
        type: array
        items:
          type: string
      country:
        type: array
        items:
          type: string
  style: deepObject

the query /1/stats/?filter%5Bwebsite%5D=a&filter%5Bwebsite%5D=b is rejected with a 400