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

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

commit 283a912cb6abef672c4f642908cdbd660899b9a5
Author: Sam Wheating <[email protected]>
AuthorDate: Tue Mar 21 11:26:51 2023 -0700

    Move readOnly property to DagState to fix generated docs (#30149)
    
    (cherry picked from commit e01c14661a4ec4bee3a2066ac1323fbd8a4386f1)
---
 airflow/api_connexion/openapi/v1.yaml | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/airflow/api_connexion/openapi/v1.yaml 
b/airflow/api_connexion/openapi/v1.yaml
index 17f1e6278c..db5609a0d6 100644
--- a/airflow/api_connexion/openapi/v1.yaml
+++ b/airflow/api_connexion/openapi/v1.yaml
@@ -2798,7 +2798,6 @@ components:
             - dataset_triggered
         state:
           $ref: '#/components/schemas/DagState'
-          readOnly: true
         external_trigger:
           type: boolean
           default: true
@@ -3957,7 +3956,6 @@ components:
           nullable: true
         state:
           $ref: '#/components/schemas/DagState'
-          readOnly: true
 
     DatasetEventCollection:
       description: |
@@ -4531,6 +4529,7 @@ components:
 
         *Changed in version 2.1.3*&#58; 'queued' is added as a possible value.
       type: string
+      readOnly: true
       enum:
         - queued
         - running

Reply via email to