gcanti / io-ts-codegen

Code generation for io-ts
https://gcanti.github.io/io-ts-codegen/
MIT License
156 stars 14 forks source link

Consider standardising specific code generators #46

Open fabiancook opened 5 years ago

fabiancook commented 5 years ago

It would be awesome if there was a cli tool that took an input file and format and generated a directory set of types out of it.

Here is a custom script that takes slacks openapi documentation and creates io-ts types with it using this project... https://github.com/opennetwork/slack-to-open/blob/master/modules/core/openapi-to-typescript.ts