Generate static and runtime (io-ts) domain models interpreting metarpheus output.
npm i metarpheus-io-ts
metarpheus-io-ts -i path/to/input.json -c path/to/config.json -o path/to/output.ts
import { getModels, getRoutes } from 'metarpheus-io-ts'
const source = ...
const models: string = getModels(source.models, modelsOptions)
const routes: string = getRoutes(source.routes, source.models, routesOptions)