This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 24b2369ffe8 Generate `openapi.json` for the Execution API sub-app 
(#43796)
24b2369ffe8 is described below

commit 24b2369ffe88a6c6a6da071e84a9ee1244f5a206
Author: Kaxil Naik <[email protected]>
AuthorDate: Thu Nov 7 17:41:20 2024 +0000

    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 8f4cd3fd0a8..82c32104adb 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)

Reply via email to