Open r34son opened 6 months ago
@fabien0102 Hi Fabien! Thanks for the great work! Could you take a look at that?
Hey, thx for raising the issue, I don't think the style
and explode
are implemented here.
Usually, the entire API should follow the same style so you can handle this in your custom fetcher. This is at least the assumption I did ^^ I'm always happy to improve the library to handle more usecase, so if you have time, I'm open to pull-request 😀
OpenAPI spec:
Generator emits type for queryParams:
But by spec https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.0.md#parameter-object parameter
in: query
has default value of style - form. So explode default value is true for form style. Spec says:Should generator emit queryParam type with spreaded params? if no, why?