You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ra...@apache.org on 2026/04/20 14:43:34 UTC
(airflow) 01/01: Fix OpenAPI spec: add ExtraMenuItem description (Pydantic 2.13.1 now emits docstrings)
This is an automated email from the ASF dual-hosted git repository.
vatsrahul1001 pushed a commit to branch fix/extra-menu-item-openapi-description
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit d3859bd32523b272dae7fa31fa9c1216ef4e7180
Author: vatsrahul1001 <ra...@gmail.com>
AuthorDate: Mon Apr 20 20:12:52 2026 +0530
Fix OpenAPI spec: add ExtraMenuItem description (Pydantic 2.13.1 now emits docstrings)
---
airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml | 2 ++
airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts | 3 ++-
airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts | 3 +++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml b/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
index df272d35726..3dc2f43d610 100644
--- a/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
+++ b/airflow-core/src/airflow/api_fastapi/core_api/openapi/_private_ui.yaml
@@ -2440,6 +2440,8 @@ components:
- text
- href
title: ExtraMenuItem
+ description: Define a menu item that can be added to the menu by auth managers
+ or plugins.
GanttResponse:
properties:
dag_id:
diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts
index 6a2537bb861..3317a52593c 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/requests/schemas.gen.ts
@@ -8228,7 +8228,8 @@ export const $ExtraMenuItem = {
},
type: 'object',
required: ['text', 'href'],
- title: 'ExtraMenuItem'
+ title: 'ExtraMenuItem',
+ description: 'Define a menu item that can be added to the menu by auth managers or plugins.'
} as const;
export const $GanttResponse = {
diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts
index 3b6aab3214f..cfb5b37bebb 100644
--- a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts
+++ b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts
@@ -2025,6 +2025,9 @@ export type EdgeResponse = {
is_source_asset?: boolean | null;
};
+/**
+ * Define a menu item that can be added to the menu by auth managers or plugins.
+ */
export type ExtraMenuItem = {
text: string;
href: string;