MohamedBeydoun / atlas

An express-typescript code generator
Apache License 2.0
6 stars 0 forks source link

Generate Code off of YAML / JSON Input FIle #35

Open idodin opened 4 years ago

idodin commented 4 years ago

Cool feature would be to generate your model / routes/ controller off of a YAML file - quick test of this was tedious to generate fields off of CLI input. If this is something that you think would be beneficial, I can put together a quick draft for this - or feel free to go for it yourself - in either case, I think I would definitely use this for projects with functionality like that (allows you to source the input YAML / use it as documentation).

MohamedBeydoun commented 4 years ago

We're planning a feature like that for after the v1.0.0. And yeah a draft would be very helpful!

MohamedBeydoun commented 4 years ago

Useful resource: https://github.com/getkin/kin-openapi