Import api before Connexion does its thing.

This commit is contained in:
Aaron Louie 2020-01-14 15:26:39 -05:00
parent 7ce48e8deb
commit 21fe50ed08
1 changed files with 1 additions and 0 deletions

View File

@ -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)