From 24b2369ffe88a6c6a6da071e84a9ee1244f5a206 Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Thu, 7 Nov 2024 17:41:20 +0000 Subject: [PATCH] Generate `openapi.json` for the Execution API sub-app (#43796) `include_in_schema=False` this flag meant none of the path operations were included in `/execution/openapi.json`. This was initially done to ensure this paths aren't included in the top-level client but since it is a separate App, it doesn't include the path operations on `/openapi.json` (used by UI and generated OpenAPI client) but only for App on `/execution` . --- airflow/api_fastapi/execution_api/app.py | 1 - 1 file changed, 1 deletion(-) diff --git a/airflow/api_fastapi/execution_api/app.py b/airflow/api_fastapi/execution_api/app.py index 8f4cd3fd0a89..82c32104adbf 100644 --- a/airflow/api_fastapi/execution_api/app.py +++ b/airflow/api_fastapi/execution_api/app.py @@ -28,7 +28,6 @@ def create_task_execution_api_app(app: FastAPI) -> FastAPI: task_exec_api_app = FastAPI( title="Airflow Task Execution API", description="The private Airflow Task Execution API.", - include_in_schema=False, ) task_exec_api_app.include_router(execution_api_router)