3 ms·
Is there any benefit over using this versus an industry standard like OpenAPI/Swagger? Does it add any new features?
by beeman 2y ago
Is there any benefit over using this versus an industry standard like OpenAPI/Swagger?
Does it add any new features?
- gladwindos 2y agoTbh, 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 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.
- beeman 2y agoGot it, that makes sense. Maybe good to describe that use case in the README.
- gladwindos 2y agoYeah I think that’s a good idea as a few people have thought the same thing. Thanks for the feedback!