Skip to content

Commit

Permalink
Generate openapi.json for the Execution API sub-app (#43796)
Browse files Browse the repository at this point in the history
`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` .
  • Loading branch information
kaxil authored Nov 7, 2024
1 parent 5be717c commit 24b2369
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion airflow/api_fastapi/execution_api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 24b2369

Please sign in to comment.