I'm using swagger-js-codegen script in React Native project to generate React Rest Client from swagger-2.0.json with definitions (mapping model). React native using Flow for JS types. Using getReactCode we don't have swagger definitions generated into Flow types now
I'm using getTypescriptCode to convert TypeScript (extracted models only) into Flow types with https://github.com/joarwilk/flowgen but it can't be automated and it's better swagger-js-codegen project to do that.
I'm using swagger-js-codegen script in React Native project to generate React Rest Client from swagger-2.0.json with definitions (mapping model). React native using Flow for JS types. Using
getReactCode
we don't have swagger definitions generated into Flow types nowI'm using
getTypescriptCode
to convert TypeScript (extracted models only) into Flow types with https://github.com/joarwilk/flowgen but it can't be automated and it's better swagger-js-codegen project to do that.