From 561c713099bbed4f52495c4caca543fab69ffdd8 Mon Sep 17 00:00:00 2001 From: Sam Wheating Date: Thu, 16 Mar 2023 09:39:18 -0700 Subject: [PATCH] Move readOnly property to DagState to fix generated docs --- 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 b8515a00c9292..6e5d031c8a17f 100644 --- a/airflow/api_connexion/openapi/v1.yaml +++ b/airflow/api_connexion/openapi/v1.yaml @@ -2805,7 +2805,6 @@ components: - dataset_triggered state: $ref: '#/components/schemas/DagState' - readOnly: true external_trigger: type: boolean default: true @@ -3964,7 +3963,6 @@ components: nullable: true state: $ref: '#/components/schemas/DagState' - readOnly: true DatasetEventCollection: description: | @@ -4538,6 +4536,7 @@ components: *Changed in version 2.1.3*: 'queued' is added as a possible value. type: string + readOnly: true enum: - queued - running