From fced1ea92e165efc385bfdf891fa951e339b3961 Mon Sep 17 00:00:00 2001 From: SanjaySinghRajpoot Date: Sun, 26 Jun 2022 17:45:40 +0530 Subject: [PATCH] chores: lint fix --- local/rest_api_flint.example/app.py | 2 ++ local/rest_api_gcbm/app.py | 2 ++ 2 files changed, 4 insertions(+) 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)