This is an automated email from the ASF dual-hosted git repository.
pierrejeambrun pushed a commit to branch v2-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v2-10-test by this push:
new 13e8e3eedf Fix dag warning documentation (#42858) (#42888)
13e8e3eedf is described below
commit 13e8e3eedf9b7afeae3945fbda1a9fcbc10e124f
Author: Pierre Jeambrun <[email protected]>
AuthorDate: Thu Oct 10 16:09:29 2024 +0800
Fix dag warning documentation (#42858) (#42888)
(cherry picked from commit b7c8ebb7d9f0d5a3d1598667371ab69582b4e66a)
---
airflow/api_connexion/openapi/v1.yaml | 2 +-
airflow/www/static/js/types/api-generated.ts | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/airflow/api_connexion/openapi/v1.yaml
b/airflow/api_connexion/openapi/v1.yaml
index 575b83412c..837937989c 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -3521,7 +3521,7 @@ components:
allOf:
- type: object
properties:
- import_errors:
+ dag_warnings:
type: array
items:
$ref: "#/components/schemas/DagWarning"
diff --git a/airflow/www/static/js/types/api-generated.ts
b/airflow/www/static/js/types/api-generated.ts
index d77351414e..e55a744a47 100644
--- a/airflow/www/static/js/types/api-generated.ts
+++ b/airflow/www/static/js/types/api-generated.ts
@@ -1299,7 +1299,7 @@ export interface components {
};
/** @description Collection of DAG warnings. */
DagWarningCollection: {
- import_errors?: components["schemas"]["DagWarning"][];
+ dag_warnings?: components["schemas"]["DagWarning"][];
} & components["schemas"]["CollectionInfo"];
SetDagRunNote: {
/** @description Custom notes left by users for this Dag Run. */