diff --git a/local/rest_api_flint.example/app.py b/local/rest_api_flint.example/app.py index 61ed62cd..d52006a4 100644 --- a/local/rest_api_flint.example/app.py +++ b/local/rest_api_flint.example/app.py @@ -38,6 +38,7 @@ def home(): return "FLINT.Example API" + @app.route("/health-flint-example", methods=["GET"]) def health(): """ @@ -50,6 +51,7 @@ def health(): description: A status check for FLINT example """ return "FLINT.Example is active." + @app.route("/spec") def spec(): diff --git a/local/rest_api_gcbm/app.py b/local/rest_api_gcbm/app.py index 95414d4c..9066c815 100644 --- a/local/rest_api_gcbm/app.py +++ b/local/rest_api_gcbm/app.py @@ -60,6 +60,7 @@ app.register_blueprint(SWAGGERUI_BLUEPRINT, url_prefix=SWAGGER_URL) ### end swagger specific ### + @app.route("/health-gcbm", methods=["GET"]) def health(): """ @@ -73,6 +74,7 @@ def health(): """ return "GCBM is active." + @app.route("/spec") def spec(): swag = swagger(app)