Import api before Connexion does its thing.
This commit is contained in:
parent
7ce48e8deb
commit
21fe50ed08
|
@ -28,6 +28,7 @@ migrate = Migrate(app, db)
|
|||
ma = Marshmallow(app)
|
||||
|
||||
from crc import models
|
||||
from crc import api
|
||||
|
||||
connexion_app.add_api('api.yml')
|
||||
cors = CORS(connexion_app.app)
|
||||
|
|
Loading…
Reference in New Issue