joffrey-bion / livedoc

A not-so-annotation-based documentation generator for REST and websocket services
MIT License
4 stars 2 forks source link

Add flow-types/typescript defs generator for API types #55

Open joffrey-bion opened 6 years ago

joffrey-bion commented 6 years ago

It would be great if one could simply download a file from the Livedoc UI, or generate that file from the build, which would contain flow-types or typescript definitions for all types in the API with proper managements of optional properties and maybe inheritance.

joffrey-bion commented 6 years ago

Maybe we could go one step further and use swagger-codegen to generate a JS client as an npm package.