ajaishankar / openapi-typescript-fetch

A typed fetch client for openapi-typescript
MIT License
233 stars 54 forks source link

Query params are required as params of create method #30

Closed JanCizmar closed 2 years ago

JanCizmar commented 2 years ago

For some reason it requires to provide the query params in object provided to create method, but it accepts only values "true" or 1.

ajaishankar commented 2 years ago

@JanCizmar see issue and reason here https://github.com/ajaishankar/openapi-typescript-fetch/issues/28#issuecomment-1124881585

JanCizmar commented 2 years ago

Then I would recommend to specify it in docs. But I still don't know, why the library needs to know it in the create method before calling the actual fetch?