karec/cookiecutter-flask-restful

is there an resource / API generator in the framework instead of handcoding ?

magicallyindia opened this issue · 2 comments

Hello Is there a API method generation option instead of handcoding. like

myapi -add methodname -params

The framework is great but would like to know if there is any example for the same to add APIs

Thanks

Bhushan

karec commented

Hello @magicallyindia,

Sadly not, it's mainly a quick start for flask and thus doesn't include those kind of tools. And since it's a cookiecutter and not a lib that you install, storing those templates could mean more files inside project directory that you wouldn't use at all in your own app.

Still, I like the idea and I will do some research to see how can I include those kind of features without adding too much potentially unused files

Thanks Idea is to like "appname" run , 'appname' init , it would be great to have "appname" api add post <method_name> (params) autogenerate the code at runtime with swagger bindings.

Thanks for great framework.

Bhushan