devexperts / swagger-codegen-ts

Typesafe Swagger API generator for TypeScript
Mozilla Public License 2.0
80 stars 16 forks source link

please add a cli #172

Open ZeeD opened 1 year ago

ZeeD commented 1 year ago

It seems that this project doesn't expose a cli tool to quickly create typescript files from a spec. It would be really useful, as I want a replacement of https://github.com/swagger-api/swagger-codegen - its typescript code generator is a bit buggy

Nedgeva commented 1 year ago

As alternative to CLI you can try out web version of codegen tool https://github.com/Nedgeva/swagger-codegen-ts-ui If you'll find it's useful please let us know. Maybe it's a good idea to incorporate Web UI into this repo.

ZeeD commented 1 year ago

while the project you mentioned seems fine, it not exactly useful for me. My goal is to automate the generation of the client code that deals with the rest server, and using a UI still requires a manual intervention that - if possible - I want to avoid.