Hacker News new | ask | show | jobs
by gladwindos 696 days ago
Tbh, there is no benefit of using this package if the API you are working with has an openapi spec, as there are other great libraries to help you generate accurate types such as https://github.com/openapi-ts/openapi-typescript. But I made this package to use when working with external apis that don't have an available spec.
1 comments

Got it, that makes sense.

Maybe good to describe that use case in the README.

Yeah I think that’s a good idea as a few people have thought the same thing. Thanks for the feedback!