Skip to content

Commit

Permalink
Add a proper example to patch DAG (#19465)
Browse files Browse the repository at this point in the history
Add an example based on the workaround described in Redocly/redoc#1238

(cherry picked from commit e6ccfaea822f9241e380e04014ffd698b7845b9a)

GitOrigin-RevId: a431a14bdeac7e53ae83ad728bd1cc527faa990c
  • Loading branch information
jakubczaplicki authored and Cloud Composer Team committed Jun 4, 2022
1 parent d30c525 commit 746c0d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions airflow/api_connexion/openapi/v1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ paths:
application/json:
schema:
$ref: "#/components/schemas/DAG"
example:
is_paused: true
responses:
"200":
description: Success.
Expand Down

0 comments on commit 746c0d6

Please sign in to comment.