ajaishankar / openapi-typescript-fetch

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

Unknown response types with OpenApi v3 #38

Open r00bal opened 2 years ago

r00bal commented 2 years ago

Hi,

I use OpenApi3 and I noticed that when loading my types into Fetcher.for<paths>() it doesn't shows my response data types properly. All responses types becomes as unknown.

But when generating types from swagger v2 all response types are shown correctly and everything works perfectly fine.

Is it a matter of not fully suport for OpenApi3 or am I doing something wrong ?

jacquesg commented 2 years ago

Have exactly the same problem.

ysael commented 2 years ago

same issue here