gschuurman commented on code in PR #28354:
URL: https://github.com/apache/airflow/pull/28354#discussion_r1048279809


##########
airflow/www/extensions/init_views.py:
##########
@@ -208,7 +208,11 @@ def _handle_method_not_allowed(ex):
             return views.method_not_allowed(ex)
 
     spec_dir = path.join(ROOT_APP_DIR, "api_connexion", "openapi")
-    connexion_app = App(__name__, specification_dir=spec_dir, 
skip_error_handlers=True)
+    if not conf.getboolean("webserver", "enable_swagger_ui"):

Review Comment:
   This should be fixed in the latest commit. Thanks for noticing



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to