diff --git a/generate_schema_config.py b/generate_schema_config.py index 3c2a6b301f08a35df51183e3567506450b644068..3292a00a7b2741b61c8eb16c779f5c2bdd0de4f7 100644 --- a/generate_schema_config.py +++ b/generate_schema_config.py @@ -113,9 +113,9 @@ swagger_config = { def configure_flask(swagger_config): """ - Setup a flask app, load flasgger + Setup a flask app, load flasgger - and then patch to remove invalid + and then patch to remove invalid definitions:{} object """ app = Flask(__name__) @@ -134,8 +134,8 @@ def configure_flask(swagger_config): @app.after_request def after_request_decorator(response): """ - I didn't want to mess with flasgger so - this blunt workaround that runs on every + I didn't want to mess with flasgger so + this blunt workaround that runs on every route and then checks whether it's required """ is_response = type(response).__name__ == "Response"