frol / flask-restplus-server-example

Real-life RESTful server example on Flask-RESTplus
http://flask-restplus-example-server.herokuapp.com/api/v1/
MIT License
1.34k stars 342 forks source link

How can add my model in API for this flame? #139

Closed kingkisskill closed 5 years ago

kingkisskill commented 5 years ago

hi everyone, i add my model in this project , same as Users model contains (init.py, models.py, parameters.py, resources.py, schemas.py), but access http://127.0.0.1:5000/api/v1/ can't find my model api when i execute ( invoke app.run --flask-config development )command , who can tell me why not success upload my model api or provide a detail development document for me. thanks

kingkisskill commented 5 years ago

i know why not upload my model, must add my model to config.py into ENABLED_MODULES = {}