Closed klam2010 closed 4 months ago
In the 3.x parser, a query parameter with no style specified and no content always has explode=true which seems wrong when the parameter schema is a simple non-array type like boolean.
Hi @klam2010 Have you tried to use SwaggerConverter with set "Flatten" option to true in ParseOptions ? It should meet you expectations. Meanwhile i will close this ticket, if you will have any questions feel free to reopen.
When converting an OpenAPI 2.0 to 3.0 using the SwaggerConverter, default style and explode values are not given unless an array type is used. However, the OpenAPIDeserializer in version 3.0 will always set the parameter values based on the parameter type, as long as the content is null.
OpenAPI Deserializer
2.0 Converter