contiamo / restful-react

A consistent, declarative way of interacting with RESTful backends, featuring code-generation from Swagger and OpenAPI specs 🔥
MIT License
1.87k stars 109 forks source link

add option to generate only typescript #295

Closed octobocto closed 4 years ago

octobocto commented 4 years ago

Why

This PR will add an option to only generate typescript types. I'm sure other libraries do this, but it's useful to have the functionality in this library as well.

For example it's useful for generating types for publishing npm packages.

netlify[bot] commented 4 years ago

Deploy request for restful-react pending review.

Review with commit 25dcb903223e5651237a91a427e08fa6222db00b

https://app.netlify.com/sites/restful-react/deploys

fabien0102 commented 4 years ago

Sounds like a reasonable idea, thanks for this contribution.

One test is failing, let's fix this and merge this PR! 😃

fabien0102 commented 4 years ago

Managed with --skip-react flag introduce in #301