openapistack / openapi-client-axios

JavaScript client library for consuming OpenAPI-enabled APIs with axios
https://openapistack.co
MIT License
550 stars 67 forks source link

Fix: single-element array params not being passed as array #112

Closed jfpimentel closed 2 years ago

jfpimentel commented 2 years ago

Hey @anttiviljami,

This PR fixes https://github.com/anttiviljami/openapi-client-axios/issues/111.

I wrote a test to reproduce the issue and it's passing with these changes.

I'm not sure if this is the right way to fix it, but let me know what you think.

Thanks, Joao

anttiviljami commented 2 years ago

LGTM ✅