This is an automated email from the ASF dual-hosted git repository.
vatsrahul1001 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 ba58ee13fc4 Fix OpenAPI spec: add ExtraMenuItem description (Pydantic
2.13.1 now emits docstrings) (#65544)
ba58ee13fc4 is described below
commit ba58ee13fc40d2d6c1aaf22f4dc6b91bb8b7dc85
Author: Rahul Vats <[email protected]>
AuthorDate: Mon Apr 20 21:35:02 2026 +0530
Fix OpenAPI spec: add ExtraMenuItem description (Pydantic 2.13.1 now emits
docstrings) (#65544)
---
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;