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

pierrejeambrun pushed a commit to branch v2-11-test
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/v2-11-test by this push:
     new deb9c79db45 Fix WeightRule spec (#53947)
deb9c79db45 is described below

commit deb9c79db45d94753ceea0dd0863c6f0e55d0d74
Author: Mingjie Zhao <[email protected]>
AuthorDate: Wed Sep 17 22:41:19 2025 +0800

    Fix WeightRule spec (#53947)
---
 airflow/api_connexion/openapi/v1.yaml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/airflow/api_connexion/openapi/v1.yaml 
b/airflow/api_connexion/openapi/v1.yaml
index b150ff66eb8..dc81a2c09d3 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -5529,12 +5529,8 @@ components:
         - always
 
     WeightRule:
-      description: Weight rule.
+      description: Weight rule. One of 'downstream', 'upstream', 'absolute', 
or the path of the custom priority weight strategy class.
       type: string
-      enum:
-        - downstream
-        - upstream
-        - absolute
 
     HealthStatus:
       description: Health status

Reply via email to