Describe the bug
This is marked as a breaking change even tho it shouldn't.
For the query request parameter color, the type/format was changed from string/ to array/.
It just makes it so you can not only do examples?color=red but also examples?color=red&color=green.
To Reproduce
{
"name": "color",
"in": "query",
"schema": {
- "type": "string",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
}
},
Expected behavior
Should be marked as safe as long as style is form and explode is true (default behavior).
Additional context
https://swagger.io/docs/specification/v3_0/serialization/#query-parameters
Describe the bug
This is marked as a breaking change even tho it shouldn't.
For the query request parameter color, the type/format was changed from string/ to array/.It just makes it so you can not only do
examples?color=redbut alsoexamples?color=red&color=green.To Reproduce
{ "name": "color", "in": "query", "schema": { - "type": "string", + "type": "array", + "items": { + "type": "string" + } } },Expected behavior
Should be marked as safe as long as
styleisformandexplodeistrue(default behavior).Additional context
https://swagger.io/docs/specification/v3_0/serialization/#query-parameters