Skip to content

Commit

Permalink
#15: Import generator and write to file
Browse files Browse the repository at this point in the history
  • Loading branch information
keiranjprice101 committed Jul 25, 2019
1 parent 166fcdd commit 8c6b525
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@
from src.resources.entities.study_investigations_endpoints import *
from src.resources.entities.user_groups_endpoints import *
from src.resources.entities.users_endpoints import *
from src.swagger.swagger_generator import swagger_gen

swagger_gen.write_swagger_spec()

app = Flask(__name__)
api = Api(app)
Expand Down Expand Up @@ -199,5 +201,7 @@
api.add_resource(UserGroupsFindOne, "/usergroups/findOne")



if __name__ == "__main__":
app.run(debug=True)

app.run(debug=True)

0 comments on commit 8c6b525

Please sign in to comment.