bbenshalom commented on a change in pull request #17839:
URL: https://github.com/apache/airflow/pull/17839#discussion_r700900840



##########
File path: airflow/api_connexion/openapi/v1.yaml
##########
@@ -604,6 +604,40 @@ paths:
         '404':
           $ref: '#/components/responses/NotFound'
 
+  /dags/{dag_id}/dagRuns/{dag_run_id}/state:
+    parameters:
+      - $ref: '#/components/parameters/DAGID'
+      - $ref: '#/components/parameters/DAGRunID'
+
+    post:
+      summary: Set a state of DAG run
+      description: Set a state of DAG run
+      x-openapi-router-controller: 
airflow.api_connexion.endpoints.dag_run_endpoint
+      operationId: update_dag_run_state
+      tags: [UpdateDagRunState]
+      requestBody:
+        required: true
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/UpdateDagRunState'

Review comment:
       considering @ephraimbuddy 's comment, I'll resolve this conversation 
without changing the input schema




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to