From 21fe50ed08fe05294b39e765d5817c8af3c31d24 Mon Sep 17 00:00:00 2001 From: Aaron Louie Date: Tue, 14 Jan 2020 15:26:39 -0500 Subject: [PATCH] Import api before Connexion does its thing. --- crc/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/crc/__init__.py b/crc/__init__.py index 0f86ef42..5dc52dc9 100644 --- a/crc/__init__.py +++ b/crc/__init__.py @@ -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)