-
Notifications
You must be signed in to change notification settings - Fork 141
Open
Labels
Description
For example, an optional query parameter of a string value, allowing multiple values by repeating the query parameter:
/path:
get:
parameters:
- name: id
in: query
description: ID of the object to fetch
schema:
type: array
items:
type: integer
explode: false
so this will be interpreted as /path?id=1,2,3, but the committee middleware will give a 400 response with this body:
"{\"type\":\"bad_request\",\"message\":\"#/paths/~1path/get/parameters/2/schema expected array, but received String: 635\"}"
This is the specification of OpenAPI.
https://swagger.io/docs/specification/serialization/#query
https://spec.openapis.org/oas/v3.0.2#fixed-fields-9
meganemura, mnj93, paul110, ahx, johannesluedke and 1 more