You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by pi...@apache.org on 2023/02/03 17:59:48 UTC

[airflow-client-go] branch main updated: Generate client version 2.5.0 (#29)

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

pierrejeambrun pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-client-go.git


The following commit(s) were added to refs/heads/main by this push:
     new 7af9875  Generate client version 2.5.0 (#29)
7af9875 is described below

commit 7af9875e7d4cbfbba4fe5b05fddcd4547edf8b87
Author: Pierre Jeambrun <pi...@gmail.com>
AuthorDate: Fri Feb 3 18:59:43 2023 +0100

    Generate client version 2.5.0 (#29)
    
    * Version 2.5.0
    
    * Add CHANGELOG.md
---
 airflow/docs/TaskState.md => CHANGELOG.md          |   43 +-
 airflow/.openapi-generator/FILES                   |   44 +-
 airflow/README.md                                  |   36 +-
 airflow/api/openapi.yaml                           | 1532 ++++++++++++++++++--
 airflow/api_config.go                              |   14 +-
 airflow/api_connection.go                          |   88 +-
 airflow/api_dag.go                                 |  518 +++++--
 airflow/api_dag_run.go                             |  567 +++++++-
 airflow/{api_plugin.go => api_dag_warning.go}      |   78 +-
 airflow/{api_role.go => api_dataset.go}            |  436 +++---
 airflow/api_event_log.go                           |   32 +-
 airflow/api_import_error.go                        |   32 +-
 airflow/api_monitoring.go                          |   26 +-
 airflow/api_permission.go                          |   18 +-
 airflow/api_plugin.go                              |   18 +-
 airflow/api_pool.go                                |   74 +-
 airflow/api_provider.go                            |   14 +-
 airflow/api_role.go                                |   74 +-
 airflow/api_task_instance.go                       |  472 +++++-
 airflow/api_user.go                                |   74 +-
 airflow/api_variable.go                            |   74 +-
 airflow/api_x_com.go                               |   39 +-
 airflow/client.go                                  |   10 +-
 airflow/configuration.go                           |    4 +-
 airflow/docs/BasicDAGRun.md                        |  297 ++++
 .../{VariableCollectionItem.md => ClearDagRun.md}  |   40 +-
 airflow/docs/ClearTaskInstance.md                  |  283 ----
 airflow/docs/ClearTaskInstances.md                 |  423 ++++++
 airflow/docs/ConfigApi.md                          |    2 +-
 airflow/docs/Connection.md                         |   36 +
 airflow/docs/ConnectionApi.md                      |   12 +-
 airflow/docs/ConnectionCollectionItem.md           |   36 +
 airflow/docs/{Dag.md => DAG.md}                    |   12 +-
 airflow/docs/DAGApi.md                             |  191 ++-
 .../docs/{DagCollection.md => DAGCollection.md}    |    0
 airflow/docs/{DagDetail.md => DAGDetail.md}        |   12 +-
 .../docs/{DagDetailAllOf.md => DAGDetailAllOf.md}  |    0
 airflow/docs/{DagRun.md => DAGRun.md}              |   36 +
 airflow/docs/DAGRunApi.md                          |  238 ++-
 .../{DagRunCollection.md => DAGRunCollection.md}   |    0
 airflow/docs/DagScheduleDatasetReference.md        |  137 ++
 airflow/docs/DagWarning.md                         |  153 ++
 .../docs/{PermissionApi.md => DagWarningApi.md}    |   32 +-
 .../{DagCollection.md => DagWarningCollection.md}  |   48 +-
 ...lectionItem.md => DagWarningCollectionAllOf.md} |   40 +-
 airflow/docs/Dataset.md                            |  241 +++
 airflow/docs/DatasetApi.md                         |  324 +++++
 .../{DagCollection.md => DatasetCollection.md}     |   48 +-
 ...CollectionItem.md => DatasetCollectionAllOf.md} |   40 +-
 airflow/docs/DatasetEvent.md                       |  333 +++++
 ...gRunCollection.md => DatasetEventCollection.md} |   48 +-
 ...ctionItem.md => DatasetEventCollectionAllOf.md} |   40 +-
 airflow/docs/EventLogApi.md                        |    4 +-
 airflow/docs/ImportErrorApi.md                     |    4 +-
 airflow/docs/Job.md                                |  399 +++++
 airflow/docs/MonitoringApi.md                      |    4 +-
 airflow/docs/PermissionApi.md                      |    2 +-
 airflow/docs/PluginApi.md                          |    2 +-
 airflow/docs/PluginCollectionItem.md               |   26 -
 airflow/docs/PoolApi.md                            |   10 +-
 airflow/docs/ProviderApi.md                        |    2 +-
 airflow/docs/RoleApi.md                            |   10 +-
 airflow/docs/{SlaMiss.md => SLAMiss.md}            |    0
 ...{VariableCollectionItem.md => SetDagRunNote.md} |   40 +-
 ...bleCollectionItem.md => SetTaskInstanceNote.md} |   39 +-
 airflow/docs/Task.md                               |   12 +-
 airflow/docs/TaskInstance.md                       |  150 +-
 airflow/docs/TaskInstanceApi.md                    |  187 ++-
 airflow/docs/TaskOutletDatasetReference.md         |  173 +++
 airflow/docs/TaskState.md                          |    4 +-
 airflow/docs/Trigger.md                            |  189 +++
 airflow/docs/UpdateTaskInstance.md                 |  101 ++
 airflow/docs/User.md                               |    4 +-
 airflow/docs/UserApi.md                            |   10 +-
 airflow/docs/UserCollectionItem.md                 |    4 +-
 airflow/docs/Variable.md                           |   36 +
 airflow/docs/VariableApi.md                        |   10 +-
 airflow/docs/VariableCollectionItem.md             |   36 +
 airflow/docs/XComApi.md                            |   10 +-
 airflow/model_action.go                            |    2 +-
 airflow/model_action_collection.go                 |    2 +-
 airflow/model_action_collection_all_of.go          |    2 +-
 airflow/model_action_resource.go                   |    2 +-
 .../{model_dag_run.go => model_basic_dag_run.go}   |  396 ++---
 airflow/model_class_reference.go                   |    2 +-
 ...tadatabase_status.go => model_clear_dag_run.go} |   81 +-
 ...nces_state.go => model_clear_task_instances.go} |  479 ++++--
 airflow/model_collection_info.go                   |    2 +-
 airflow/model_config.go                            |    2 +-
 airflow/model_config_option.go                     |    2 +-
 airflow/model_config_section.go                    |    2 +-
 airflow/model_connection.go                        |   49 +-
 airflow/model_connection_all_of.go                 |    2 +-
 airflow/model_connection_collection.go             |    2 +-
 airflow/model_connection_collection_all_of.go      |    2 +-
 airflow/model_connection_collection_item.go        |   49 +-
 airflow/model_connection_test_.go                  |    2 +-
 airflow/model_cron_expression.go                   |    2 +-
 airflow/model_dag.go                               |   34 +-
 airflow/model_dag_collection.go                    |    2 +-
 airflow/model_dag_collection_all_of.go             |    2 +-
 airflow/model_dag_detail.go                        |   34 +-
 airflow/model_dag_detail_all_of.go                 |    2 +-
 airflow/model_dag_run.go                           |   49 +-
 airflow/model_dag_run_collection.go                |    2 +-
 airflow/model_dag_run_collection_all_of.go         |    2 +-
 ....go => model_dag_schedule_dataset_reference.go} |  188 ++-
 airflow/model_dag_state.go                         |    2 +-
 ...{model_import_error.go => model_dag_warning.go} |  184 +--
 ...llection.go => model_dag_warning_collection.go} |   62 +-
 ...f.go => model_dag_warning_collection_all_of.go} |   54 +-
 airflow/{model_sla_miss.go => model_dataset.go}    |  310 ++--
 ...e_collection.go => model_dataset_collection.go} |   84 +-
 ...links.go => model_dataset_collection_all_of.go} |   76 +-
 ...{model_connection.go => model_dataset_event.go} |  423 +++---
 ...ection.go => model_dataset_event_collection.go} |   84 +-
 ...go => model_dataset_event_collection_all_of.go} |   76 +-
 airflow/model_error.go                             |    2 +-
 airflow/model_event_log.go                         |    2 +-
 airflow/model_event_log_collection.go              |    2 +-
 airflow/model_event_log_collection_all_of.go       |    2 +-
 airflow/model_extra_link.go                        |    2 +-
 airflow/model_extra_link_collection.go             |    2 +-
 airflow/model_health_info.go                       |    2 +-
 airflow/model_health_status.go                     |    2 +-
 airflow/model_import_error.go                      |    2 +-
 airflow/model_import_error_collection.go           |    2 +-
 airflow/model_import_error_collection_all_of.go    |    2 +-
 airflow/model_inline_response_200.go               |    2 +-
 airflow/model_inline_response_200_1.go             |    2 +-
 airflow/{model_event_log.go => model_job.go}       |  487 ++++---
 airflow/model_list_dag_runs_form.go                |    2 +-
 airflow/model_list_task_instance_form.go           |    2 +-
 airflow/model_metadatabase_status.go               |    2 +-
 airflow/model_plugin_collection.go                 |    2 +-
 airflow/model_plugin_collection_all_of.go          |    2 +-
 airflow/model_plugin_collection_item.go            |   39 +-
 airflow/model_pool.go                              |    2 +-
 airflow/model_pool_collection.go                   |    2 +-
 airflow/model_pool_collection_all_of.go            |    2 +-
 airflow/model_provider.go                          |    2 +-
 airflow/model_provider_collection.go               |    2 +-
 airflow/model_relative_delta.go                    |    2 +-
 airflow/model_resource.go                          |    2 +-
 airflow/model_role.go                              |    2 +-
 airflow/model_role_collection.go                   |    2 +-
 airflow/model_role_collection_all_of.go            |    2 +-
 airflow/model_schedule_interval.go                 |    7 +-
 airflow/model_scheduler_status.go                  |    2 +-
 .../{model_action.go => model_set_dag_run_note.go} |   76 +-
 ...l_action.go => model_set_task_instance_note.go} |   81 +-
 airflow/model_sla_miss.go                          |    2 +-
 airflow/model_tag.go                               |    2 +-
 airflow/model_task.go                              |   34 +-
 airflow/model_task_collection.go                   |    2 +-
 airflow/model_task_extra_links.go                  |    2 +-
 airflow/model_task_instance.go                     |  253 +++-
 airflow/model_task_instance_collection.go          |    2 +-
 airflow/model_task_instance_collection_all_of.go   |    2 +-
 airflow/model_task_instance_reference.go           |    2 +-
 .../model_task_instance_reference_collection.go    |    2 +-
 ...m.go => model_task_outlet_dataset_reference.go} |  230 ++-
 airflow/model_task_state.go                        |    8 +-
 airflow/model_time_delta.go                        |    2 +-
 ...l_x_com_collection_item.go => model_trigger.go} |  224 +--
 airflow/model_trigger_rule.go                      |    2 +-
 airflow/model_update_dag_run_state.go              |    2 +-
 ...n_resource.go => model_update_task_instance.go} |  118 +-
 airflow/model_update_task_instances_state.go       |    2 +-
 airflow/model_user.go                              |    6 +-
 airflow/model_user_all_of.go                       |    2 +-
 airflow/model_user_collection.go                   |    2 +-
 airflow/model_user_collection_all_of.go            |    2 +-
 airflow/model_user_collection_item.go              |    6 +-
 airflow/model_user_collection_item_roles.go        |    2 +-
 airflow/model_variable.go                          |   49 +-
 airflow/model_variable_all_of.go                   |    2 +-
 airflow/model_variable_collection.go               |    2 +-
 airflow/model_variable_collection_all_of.go        |    2 +-
 airflow/model_variable_collection_item.go          |   49 +-
 airflow/model_version_info.go                      |    2 +-
 airflow/model_weight_rule.go                       |    2 +-
 airflow/model_x_com.go                             |    2 +-
 airflow/model_x_com_all_of.go                      |    2 +-
 airflow/model_x_com_collection.go                  |    2 +-
 airflow/model_x_com_collection_all_of.go           |    2 +-
 airflow/model_x_com_collection_item.go             |    2 +-
 airflow/response.go                                |    2 +-
 airflow/utils.go                                   |    2 +-
 189 files changed, 9877 insertions(+), 3543 deletions(-)

diff --git a/airflow/docs/TaskState.md b/CHANGELOG.md
similarity index 54%
copy from airflow/docs/TaskState.md
copy to CHANGELOG.md
index df485e4..50f9be7 100644
--- a/airflow/docs/TaskState.md
+++ b/CHANGELOG.md
@@ -17,38 +17,25 @@
  under the License.
  -->
 
-# TaskState
+# v2.5.0
 
-## Enum
+Apache Airflow API version: 2.5.x
 
+### Major changes:
 
-* `SUCCESS` (value: `"success"`)
+- NA
 
-* `RUNNING` (value: `"running"`)
+### Major fixes:
 
-* `FAILED` (value: `"failed"`)
-
-* `UPSTREAM_FAILED` (value: `"upstream_failed"`)
-
-* `SKIPPED` (value: `"skipped"`)
-
-* `UP_FOR_RETRY` (value: `"up_for_retry"`)
-
-* `UP_FOR_RESCHEDULE` (value: `"up_for_reschedule"`)
-
-* `QUEUED` (value: `"queued"`)
-
-* `NONE` (value: `"none"`)
-
-* `SCHEDULED` (value: `"scheduled"`)
-
-* `DEFERRED` (value: `"deferred"`)
-
-* `SENSING` (value: `"sensing"`)
-
-* `REMOVED` (value: `"removed"`)
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+- NA
 
+### New API supported:
 
+- GET /datasets/events | Get dataset events
+- GET /datasets | Get datasets
+- GET /datasets/{id} | Get a dataset
+- POST /dags/{dag_id}/dagRuns/{dag_run_id}/clear | Clear a dagrun endpoint
+- GET /dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents | Get dataset events for a DAG run
+- PATCH /dags | Update DAGs
+- GET /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index} | Get a mapped task instance
+- GET /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/listMapped | List mapped task instances
diff --git a/airflow/.openapi-generator/FILES b/airflow/.openapi-generator/FILES
index 84f9344..0df9136 100644
--- a/airflow/.openapi-generator/FILES
+++ b/airflow/.openapi-generator/FILES
@@ -5,6 +5,8 @@ api_config.go
 api_connection.go
 api_dag.go
 api_dag_run.go
+api_dag_warning.go
+api_dataset.go
 api_event_log.go
 api_import_error.go
 api_monitoring.go
@@ -23,8 +25,10 @@ docs/Action.md
 docs/ActionCollection.md
 docs/ActionCollectionAllOf.md
 docs/ActionResource.md
+docs/BasicDAGRun.md
 docs/ClassReference.md
-docs/ClearTaskInstance.md
+docs/ClearDagRun.md
+docs/ClearTaskInstances.md
 docs/CollectionInfo.md
 docs/Config.md
 docs/ConfigApi.md
@@ -48,7 +52,19 @@ docs/DAGRun.md
 docs/DAGRunApi.md
 docs/DAGRunCollection.md
 docs/DAGRunCollectionAllOf.md
+docs/DagScheduleDatasetReference.md
 docs/DagState.md
+docs/DagWarning.md
+docs/DagWarningApi.md
+docs/DagWarningCollection.md
+docs/DagWarningCollectionAllOf.md
+docs/Dataset.md
+docs/DatasetApi.md
+docs/DatasetCollection.md
+docs/DatasetCollectionAllOf.md
+docs/DatasetEvent.md
+docs/DatasetEventCollection.md
+docs/DatasetEventCollectionAllOf.md
 docs/Error.md
 docs/EventLog.md
 docs/EventLogApi.md
@@ -64,6 +80,7 @@ docs/ImportErrorCollection.md
 docs/ImportErrorCollectionAllOf.md
 docs/InlineResponse200.md
 docs/InlineResponse2001.md
+docs/Job.md
 docs/ListDagRunsForm.md
 docs/ListTaskInstanceForm.md
 docs/MetadatabaseStatus.md
@@ -89,6 +106,8 @@ docs/RoleCollectionAllOf.md
 docs/SLAMiss.md
 docs/ScheduleInterval.md
 docs/SchedulerStatus.md
+docs/SetDagRunNote.md
+docs/SetTaskInstanceNote.md
 docs/Tag.md
 docs/Task.md
 docs/TaskCollection.md
@@ -99,10 +118,13 @@ docs/TaskInstanceCollection.md
 docs/TaskInstanceCollectionAllOf.md
 docs/TaskInstanceReference.md
 docs/TaskInstanceReferenceCollection.md
+docs/TaskOutletDatasetReference.md
 docs/TaskState.md
 docs/TimeDelta.md
+docs/Trigger.md
 docs/TriggerRule.md
 docs/UpdateDagRunState.md
+docs/UpdateTaskInstance.md
 docs/UpdateTaskInstancesState.md
 docs/User.md
 docs/UserAllOf.md
@@ -131,8 +153,10 @@ model_action.go
 model_action_collection.go
 model_action_collection_all_of.go
 model_action_resource.go
+model_basic_dag_run.go
 model_class_reference.go
-model_clear_task_instance.go
+model_clear_dag_run.go
+model_clear_task_instances.go
 model_collection_info.go
 model_config.go
 model_config_option.go
@@ -152,7 +176,17 @@ model_dag_detail_all_of.go
 model_dag_run.go
 model_dag_run_collection.go
 model_dag_run_collection_all_of.go
+model_dag_schedule_dataset_reference.go
 model_dag_state.go
+model_dag_warning.go
+model_dag_warning_collection.go
+model_dag_warning_collection_all_of.go
+model_dataset.go
+model_dataset_collection.go
+model_dataset_collection_all_of.go
+model_dataset_event.go
+model_dataset_event_collection.go
+model_dataset_event_collection_all_of.go
 model_error.go
 model_event_log.go
 model_event_log_collection.go
@@ -166,6 +200,7 @@ model_import_error_collection.go
 model_import_error_collection_all_of.go
 model_inline_response_200.go
 model_inline_response_200_1.go
+model_job.go
 model_list_dag_runs_form.go
 model_list_task_instance_form.go
 model_metadatabase_status.go
@@ -184,6 +219,8 @@ model_role_collection.go
 model_role_collection_all_of.go
 model_schedule_interval.go
 model_scheduler_status.go
+model_set_dag_run_note.go
+model_set_task_instance_note.go
 model_sla_miss.go
 model_tag.go
 model_task.go
@@ -194,10 +231,13 @@ model_task_instance_collection.go
 model_task_instance_collection_all_of.go
 model_task_instance_reference.go
 model_task_instance_reference_collection.go
+model_task_outlet_dataset_reference.go
 model_task_state.go
 model_time_delta.go
+model_trigger.go
 model_trigger_rule.go
 model_update_dag_run_state.go
+model_update_task_instance.go
 model_update_task_instances_state.go
 model_user.go
 model_user_all_of.go
diff --git a/airflow/README.md b/airflow/README.md
index 32946e9..5d8a4dc 100644
--- a/airflow/README.md
+++ b/airflow/README.md
@@ -232,8 +232,8 @@ fulfilling the request.
 ## Overview
 This API client was generated by the [OpenAPI Generator](https://openapi-generator.tech) project.  By using the [OpenAPI-spec](https://www.openapis.org/) from a remote server, you can easily generate an API client.
 
-- API version: 1.0.0
-- Package version: 2.1.0
+- API version: 2.5.0
+- Package version: 2.5.0
 - Build package: org.openapitools.codegen.languages.GoClientCodegen
 For more information, please visit [https://airflow.apache.org](https://airflow.apache.org)
 
@@ -324,12 +324,22 @@ Class | Method | HTTP request | Description
 *DAGApi* | [**PatchDags**](docs/DAGApi.md#patchdags) | **Patch** /dags | Update DAGs
 *DAGApi* | [**PostClearTaskInstances**](docs/DAGApi.md#postcleartaskinstances) | **Post** /dags/{dag_id}/clearTaskInstances | Clear a set of task instances
 *DAGApi* | [**PostSetTaskInstancesState**](docs/DAGApi.md#postsettaskinstancesstate) | **Post** /dags/{dag_id}/updateTaskInstancesState | Set a state of task instances
+*DAGApi* | [**SetMappedTaskInstanceNote**](docs/DAGApi.md#setmappedtaskinstancenote) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/setNote | Update the TaskInstance note.
+*DAGApi* | [**SetTaskInstanceNote**](docs/DAGApi.md#settaskinstancenote) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/setNote | Update the TaskInstance note.
+*DAGRunApi* | [**ClearDagRun**](docs/DAGRunApi.md#cleardagrun) | **Post** /dags/{dag_id}/dagRuns/{dag_run_id}/clear | Clear a DAG run
 *DAGRunApi* | [**DeleteDagRun**](docs/DAGRunApi.md#deletedagrun) | **Delete** /dags/{dag_id}/dagRuns/{dag_run_id} | Delete a DAG run
 *DAGRunApi* | [**GetDagRun**](docs/DAGRunApi.md#getdagrun) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id} | Get a DAG run
 *DAGRunApi* | [**GetDagRuns**](docs/DAGRunApi.md#getdagruns) | **Get** /dags/{dag_id}/dagRuns | List DAG runs
 *DAGRunApi* | [**GetDagRunsBatch**](docs/DAGRunApi.md#getdagrunsbatch) | **Post** /dags/~/dagRuns/list | List DAG runs (batch)
+*DAGRunApi* | [**GetUpstreamDatasetEvents**](docs/DAGRunApi.md#getupstreamdatasetevents) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents | Get dataset events for a DAG run
 *DAGRunApi* | [**PostDagRun**](docs/DAGRunApi.md#postdagrun) | **Post** /dags/{dag_id}/dagRuns | Trigger a new DAG run
+*DAGRunApi* | [**SetDagRunNote**](docs/DAGRunApi.md#setdagrunnote) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/setNote | Update the DagRun note.
 *DAGRunApi* | [**UpdateDagRunState**](docs/DAGRunApi.md#updatedagrunstate) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id} | Modify a DAG run
+*DagWarningApi* | [**GetDagWarnings**](docs/DagWarningApi.md#getdagwarnings) | **Get** /dagWarnings | List dag warnings
+*DatasetApi* | [**GetDataset**](docs/DatasetApi.md#getdataset) | **Get** /datasets/{uri} | Get a dataset
+*DatasetApi* | [**GetDatasetEvents**](docs/DatasetApi.md#getdatasetevents) | **Get** /datasets/events | Get dataset events
+*DatasetApi* | [**GetDatasets**](docs/DatasetApi.md#getdatasets) | **Get** /datasets | List datasets
+*DatasetApi* | [**GetUpstreamDatasetEvents**](docs/DatasetApi.md#getupstreamdatasetevents) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents | Get dataset events for a DAG run
 *EventLogApi* | [**GetEventLog**](docs/EventLogApi.md#geteventlog) | **Get** /eventLogs/{event_log_id} | Get a log entry
 *EventLogApi* | [**GetEventLogs**](docs/EventLogApi.md#geteventlogs) | **Get** /eventLogs | List log entries
 *ImportErrorApi* | [**GetImportError**](docs/ImportErrorApi.md#getimporterror) | **Get** /importErrors/{import_error_id} | Get an import error
@@ -356,6 +366,8 @@ Class | Method | HTTP request | Description
 *TaskInstanceApi* | [**GetTaskInstance**](docs/TaskInstanceApi.md#gettaskinstance) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id} | Get a task instance
 *TaskInstanceApi* | [**GetTaskInstances**](docs/TaskInstanceApi.md#gettaskinstances) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances | List task instances
 *TaskInstanceApi* | [**GetTaskInstancesBatch**](docs/TaskInstanceApi.md#gettaskinstancesbatch) | **Post** /dags/~/dagRuns/~/taskInstances/list | List task instances (batch)
+*TaskInstanceApi* | [**PatchMappedTaskInstance**](docs/TaskInstanceApi.md#patchmappedtaskinstance) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index} | Updates the state of a mapped task instance
+*TaskInstanceApi* | [**PatchTaskInstance**](docs/TaskInstanceApi.md#patchtaskinstance) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id} | Updates the state of a task instance
 *UserApi* | [**DeleteUser**](docs/UserApi.md#deleteuser) | **Delete** /users/{username} | Delete a user
 *UserApi* | [**GetUser**](docs/UserApi.md#getuser) | **Get** /users/{username} | Get a user
 *UserApi* | [**GetUsers**](docs/UserApi.md#getusers) | **Get** /users | List users
@@ -376,8 +388,10 @@ Class | Method | HTTP request | Description
  - [ActionCollection](docs/ActionCollection.md)
  - [ActionCollectionAllOf](docs/ActionCollectionAllOf.md)
  - [ActionResource](docs/ActionResource.md)
+ - [BasicDAGRun](docs/BasicDAGRun.md)
  - [ClassReference](docs/ClassReference.md)
- - [ClearTaskInstance](docs/ClearTaskInstance.md)
+ - [ClearDagRun](docs/ClearDagRun.md)
+ - [ClearTaskInstances](docs/ClearTaskInstances.md)
  - [CollectionInfo](docs/CollectionInfo.md)
  - [Config](docs/Config.md)
  - [ConfigOption](docs/ConfigOption.md)
@@ -397,7 +411,17 @@ Class | Method | HTTP request | Description
  - [DAGRun](docs/DAGRun.md)
  - [DAGRunCollection](docs/DAGRunCollection.md)
  - [DAGRunCollectionAllOf](docs/DAGRunCollectionAllOf.md)
+ - [DagScheduleDatasetReference](docs/DagScheduleDatasetReference.md)
  - [DagState](docs/DagState.md)
+ - [DagWarning](docs/DagWarning.md)
+ - [DagWarningCollection](docs/DagWarningCollection.md)
+ - [DagWarningCollectionAllOf](docs/DagWarningCollectionAllOf.md)
+ - [Dataset](docs/Dataset.md)
+ - [DatasetCollection](docs/DatasetCollection.md)
+ - [DatasetCollectionAllOf](docs/DatasetCollectionAllOf.md)
+ - [DatasetEvent](docs/DatasetEvent.md)
+ - [DatasetEventCollection](docs/DatasetEventCollection.md)
+ - [DatasetEventCollectionAllOf](docs/DatasetEventCollectionAllOf.md)
  - [Error](docs/Error.md)
  - [EventLog](docs/EventLog.md)
  - [EventLogCollection](docs/EventLogCollection.md)
@@ -411,6 +435,7 @@ Class | Method | HTTP request | Description
  - [ImportErrorCollectionAllOf](docs/ImportErrorCollectionAllOf.md)
  - [InlineResponse200](docs/InlineResponse200.md)
  - [InlineResponse2001](docs/InlineResponse2001.md)
+ - [Job](docs/Job.md)
  - [ListDagRunsForm](docs/ListDagRunsForm.md)
  - [ListTaskInstanceForm](docs/ListTaskInstanceForm.md)
  - [MetadatabaseStatus](docs/MetadatabaseStatus.md)
@@ -430,6 +455,8 @@ Class | Method | HTTP request | Description
  - [SLAMiss](docs/SLAMiss.md)
  - [ScheduleInterval](docs/ScheduleInterval.md)
  - [SchedulerStatus](docs/SchedulerStatus.md)
+ - [SetDagRunNote](docs/SetDagRunNote.md)
+ - [SetTaskInstanceNote](docs/SetTaskInstanceNote.md)
  - [Tag](docs/Tag.md)
  - [Task](docs/Task.md)
  - [TaskCollection](docs/TaskCollection.md)
@@ -439,10 +466,13 @@ Class | Method | HTTP request | Description
  - [TaskInstanceCollectionAllOf](docs/TaskInstanceCollectionAllOf.md)
  - [TaskInstanceReference](docs/TaskInstanceReference.md)
  - [TaskInstanceReferenceCollection](docs/TaskInstanceReferenceCollection.md)
+ - [TaskOutletDatasetReference](docs/TaskOutletDatasetReference.md)
  - [TaskState](docs/TaskState.md)
  - [TimeDelta](docs/TimeDelta.md)
+ - [Trigger](docs/Trigger.md)
  - [TriggerRule](docs/TriggerRule.md)
  - [UpdateDagRunState](docs/UpdateDagRunState.md)
+ - [UpdateTaskInstance](docs/UpdateTaskInstance.md)
  - [UpdateTaskInstancesState](docs/UpdateTaskInstancesState.md)
  - [User](docs/User.md)
  - [UserAllOf](docs/UserAllOf.md)
diff --git a/airflow/api/openapi.yaml b/airflow/api/openapi.yaml
index 246f759..2596ac4 100644
--- a/airflow/api/openapi.yaml
+++ b/airflow/api/openapi.yaml
@@ -234,12 +234,16 @@ info:
     name: Apache 2.0
     url: http://www.apache.org/licenses/LICENSE-2.0.html
   title: Airflow API (Stable)
-  version: 1.0.0
+  version: 2.5.0
 externalDocs:
   url: https://airflow.apache.org/docs/apache-airflow/stable/
 servers:
 - description: Apache Airflow Stable API.
   url: /api/v1
+security:
+- Basic: []
+- GoogleOpenId: []
+- Kerberos: []
 tags:
 - name: Config
 - name: Connection
@@ -257,6 +261,8 @@ tags:
 - name: Role
 - name: Permission
 - name: User
+- name: DagWarning
+- name: Dataset
 paths:
   /connections:
     get:
@@ -932,7 +938,7 @@ paths:
         content:
           application/json:
             schema:
-              $ref: '#/components/schemas/ClearTaskInstance'
+              $ref: '#/components/schemas/ClearTaskInstances'
         description: Parameters of action
         required: true
       responses:
@@ -965,6 +971,164 @@ paths:
       tags:
       - DAG
       x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
+  /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/setNote:
+    patch:
+      description: |
+        Update the manual user note of a non-mapped Task Instance.
+
+        *New in version 2.5.0*
+      operationId: set_task_instance_note
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The task ID.
+        explode: false
+        in: path
+        name: task_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/SetTaskInstanceNote'
+        description: Parameters of set Task Instance note.
+        required: true
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/TaskInstance'
+          description: Success.
+        "400":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client specified an invalid argument.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Update the TaskInstance note.
+      tags:
+      - DAG
+      x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
+  /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/setNote:
+    patch:
+      description: |
+        Update the manual user note of a mapped Task Instance.
+
+        *New in version 2.5.0*
+      operationId: set_mapped_task_instance_note
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The task ID.
+        explode: false
+        in: path
+        name: task_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The map index.
+        explode: false
+        in: path
+        name: map_index
+        required: true
+        schema:
+          type: integer
+        style: simple
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/SetTaskInstanceNote'
+        description: Parameters of set Task Instance note.
+        required: true
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/TaskInstance'
+          description: Success.
+        "400":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client specified an invalid argument.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Update the TaskInstance note.
+      tags:
+      - DAG
+      x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
   /dags/{dag_id}/updateTaskInstancesState:
     post:
       description: |
@@ -1428,6 +1592,194 @@ paths:
       tags:
       - DAGRun
       x-openapi-router-controller: airflow.api_connexion.endpoints.dag_run_endpoint
+  /dags/{dag_id}/dagRuns/{dag_run_id}/clear:
+    post:
+      description: |
+        Clear a DAG run.
+
+        *New in version 2.4.0*
+      operationId: clear_dag_run
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/ClearDagRun'
+        required: true
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/DAGRun'
+          description: Success.
+        "400":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client specified an invalid argument.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Clear a DAG run
+      tags:
+      - DAGRun
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dag_run_endpoint
+  /dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents:
+    get:
+      description: |
+        Get datasets for a dag run.
+
+        *New in version 2.4.0*
+      operationId: get_upstream_dataset_events
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/DatasetEventCollection'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Get dataset events for a DAG run
+      tags:
+      - DAGRun
+      - Dataset
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dag_run_endpoint
+  /dags/{dag_id}/dagRuns/{dag_run_id}/setNote:
+    patch:
+      description: |
+        Update the manual user note of a DagRun.
+
+        *New in version 2.5.0*
+      operationId: set_dag_run_note
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/SetDagRunNote'
+        description: Parameters of set DagRun note.
+        required: true
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/DAGRun'
+          description: Success.
+        "400":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client specified an invalid argument.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Update the DagRun note.
+      tags:
+      - DAGRun
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dag_run_endpoint
   /eventLogs:
     get:
       description: List log entries from event log.
@@ -2135,7 +2487,144 @@ paths:
         name: task_id
         required: true
         schema:
-          type: string
+          type: string
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/TaskInstance'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Get a task instance
+      tags:
+      - TaskInstance
+      x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
+    patch:
+      description: |
+        Updates the state for single task instance.
+        *New in version 2.5.0*
+      operationId: patch_task_instance
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The task ID.
+        explode: false
+        in: path
+        name: task_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/UpdateTaskInstance'
+        description: Parameters of action
+        required: true
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/TaskInstanceReference'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Updates the state of a task instance
+      tags:
+      - TaskInstance
+      x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
+  /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}:
+    get:
+      description: |
+        Get details of a mapped task instance.
+
+        *New in version 2.3.0*
+      operationId: get_mapped_task_instance
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The DAG run ID.
+        explode: false
+        in: path
+        name: dag_run_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The task ID.
+        explode: false
+        in: path
+        name: task_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The map index.
+        explode: false
+        in: path
+        name: map_index
+        required: true
+        schema:
+          type: integer
         style: simple
       responses:
         "200":
@@ -2163,17 +2652,15 @@ paths:
               schema:
                 $ref: '#/components/schemas/Error'
           description: A specified resource is not found.
-      summary: Get a task instance
+      summary: Get a mapped task instance
       tags:
       - TaskInstance
       x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
-  /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}:
-    get:
+    patch:
       description: |
-        Get details of a mapped task instance.
-
-        *New in version 2.3.0*
-      operationId: get_mapped_task_instance
+        Updates the state for single mapped task instance.
+        *New in version 2.5.0*
+      operationId: patch_mapped_task_instance
       parameters:
       - description: The DAG ID.
         explode: false
@@ -2207,12 +2694,18 @@ paths:
         schema:
           type: integer
         style: simple
+      requestBody:
+        content:
+          application/json:
+            schema:
+              $ref: '#/components/schemas/UpdateTaskInstance'
+        description: Parameters of action
       responses:
         "200":
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/TaskInstance'
+                $ref: '#/components/schemas/TaskInstanceReference'
           description: Success.
         "401":
           content:
@@ -2233,7 +2726,7 @@ paths:
               schema:
                 $ref: '#/components/schemas/Error'
           description: A specified resource is not found.
-      summary: Get a mapped task instance
+      summary: Updates the state of a mapped task instance
       tags:
       - TaskInstance
       x-openapi-router-controller: airflow.api_connexion.endpoints.task_instance_endpoint
@@ -2432,7 +2925,7 @@ paths:
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/TaskInstance'
+                $ref: '#/components/schemas/TaskInstanceCollection'
           description: Success.
         "401":
           content:
@@ -2608,6 +3101,7 @@ paths:
         name: variable_key
         required: true
         schema:
+          format: path
           type: string
         style: simple
       responses:
@@ -2652,6 +3146,7 @@ paths:
         name: variable_key
         required: true
         schema:
+          format: path
           type: string
         style: simple
       responses:
@@ -2694,6 +3189,7 @@ paths:
         name: variable_key
         required: true
         schema:
+          format: path
           type: string
         style: simple
       - description: |
@@ -2861,6 +3357,24 @@ paths:
         schema:
           type: string
         style: simple
+      - description: |
+          Whether to deserialize an XCom value when using a custom XCom backend.
+
+          The XCom API endpoint calls `orm_deserialize_value` by default since an XCom may contain value
+          that is potentially expensive to deserialize in the web server. Setting this to true overrides
+          the consideration, and calls `deserialize_value` instead.
+
+          This parameter is not meaningful when using the default XCom backend.
+
+          *New in version 2.4.0*
+        explode: true
+        in: query
+        name: deserialize
+        required: false
+        schema:
+          default: false
+          type: boolean
+        style: form
       responses:
         "200":
           content:
@@ -2998,6 +3512,14 @@ paths:
         schema:
           type: boolean
         style: form
+      - description: Filter on map index for mapped task.
+        explode: true
+        in: query
+        name: map_index
+        required: false
+        schema:
+          type: integer
+        style: form
       - description: |
           A token that allows you to continue fetching logs.
           If passed, it will specify the location from which the download should be continued.
@@ -3101,8 +3623,254 @@ paths:
         name: dag_id
         required: true
         schema:
-          type: string
-        style: simple
+          type: string
+        style: simple
+      - description: |
+          The name of the field to order the results by.
+          Prefix a field name with `-` to reverse the sort order.
+
+          *New in version 2.1.0*
+        explode: true
+        in: query
+        name: order_by
+        required: false
+        schema:
+          type: string
+        style: form
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/TaskCollection'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Get tasks for DAG
+      tags:
+      - DAG
+      x-openapi-router-controller: airflow.api_connexion.endpoints.task_endpoint
+  /dags/{dag_id}/tasks/{task_id}:
+    get:
+      operationId: get_task
+      parameters:
+      - description: The DAG ID.
+        explode: false
+        in: path
+        name: dag_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      - description: The task ID.
+        explode: false
+        in: path
+        name: task_id
+        required: true
+        schema:
+          type: string
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Task'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+      summary: Get simplified representation of a task
+      tags:
+      - DAG
+      x-openapi-router-controller: airflow.api_connexion.endpoints.task_endpoint
+  /dagSources/{file_token}:
+    get:
+      description: |
+        Get a source code using file token.
+      operationId: get_dag_source
+      parameters:
+      - description: |
+          The key containing the encrypted path to the file. Encryption and decryption take place only on
+          the server. This prevents the client from reading an non-DAG file. This also ensures API
+          extensibility, because the format of encrypted data may change.
+        explode: false
+        in: path
+        name: file_token
+        required: true
+        schema:
+          type: string
+        style: simple
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/inline_response_200_1'
+            plain/text:
+              schema:
+                $ref: '#/components/schemas/inline_response_200_1'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+        "404":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified resource is not found.
+        "406":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: A specified Accept header is not allowed.
+      summary: Get a source code
+      tags:
+      - DAG
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dag_source_endpoint
+  /dagWarnings:
+    get:
+      operationId: get_dag_warnings
+      parameters:
+      - description: If set, only return DAG warnings with this dag_id.
+        explode: true
+        in: query
+        name: dag_id
+        required: false
+        schema:
+          type: string
+        style: form
+      - description: If set, only return DAG warnings with this type.
+        explode: true
+        in: query
+        name: warning_type
+        required: false
+        schema:
+          type: string
+        style: form
+      - description: The numbers of items to return.
+        explode: true
+        in: query
+        name: limit
+        required: false
+        schema:
+          default: 100
+          type: integer
+        style: form
+      - description: The number of items to skip before starting to collect the result
+          set.
+        explode: true
+        in: query
+        name: offset
+        required: false
+        schema:
+          minimum: 0
+          type: integer
+        style: form
+      - description: |
+          The name of the field to order the results by.
+          Prefix a field name with `-` to reverse the sort order.
+
+          *New in version 2.1.0*
+        explode: true
+        in: query
+        name: order_by
+        required: false
+        schema:
+          type: string
+        style: form
+      responses:
+        "200":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/DagWarningCollection'
+          description: Success.
+        "401":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Request not authenticated due to missing, invalid, authentication
+            info.
+        "403":
+          content:
+            application/json:
+              schema:
+                $ref: '#/components/schemas/Error'
+          description: Client does not have sufficient permission.
+      summary: List dag warnings
+      tags:
+      - DagWarning
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dag_warning_endpoint
+  /datasets:
+    get:
+      operationId: get_datasets
+      parameters:
+      - description: The numbers of items to return.
+        explode: true
+        in: query
+        name: limit
+        required: false
+        schema:
+          default: 100
+          type: integer
+        style: form
+      - description: The number of items to skip before starting to collect the result
+          set.
+        explode: true
+        in: query
+        name: offset
+        required: false
+        schema:
+          minimum: 0
+          type: integer
+        style: form
       - description: |
           The name of the field to order the results by.
           Prefix a field name with `-` to reverse the sort order.
@@ -3115,12 +3883,21 @@ paths:
         schema:
           type: string
         style: form
+      - description: |
+          If set, only return datasets with uris matching this pattern.
+        explode: true
+        in: query
+        name: uri_pattern
+        required: false
+        schema:
+          type: string
+        style: form
       responses:
         "200":
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/TaskCollection'
+                $ref: '#/components/schemas/DatasetCollection'
           description: Success.
         "401":
           content:
@@ -3135,34 +3912,22 @@ paths:
               schema:
                 $ref: '#/components/schemas/Error'
           description: Client does not have sufficient permission.
-        "404":
-          content:
-            application/json:
-              schema:
-                $ref: '#/components/schemas/Error'
-          description: A specified resource is not found.
-      summary: Get tasks for DAG
+      summary: List datasets
       tags:
-      - DAG
-      x-openapi-router-controller: airflow.api_connexion.endpoints.task_endpoint
-  /dags/{dag_id}/tasks/{task_id}:
+      - Dataset
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dataset_endpoint
+  /datasets/{uri}:
     get:
-      operationId: get_task
+      description: Get a dataset by uri.
+      operationId: get_dataset
       parameters:
-      - description: The DAG ID.
-        explode: false
-        in: path
-        name: dag_id
-        required: true
-        schema:
-          type: string
-        style: simple
-      - description: The task ID.
+      - description: The encoded Dataset URI
         explode: false
         in: path
-        name: task_id
+        name: uri
         required: true
         schema:
+          format: path
           type: string
         style: simple
       responses:
@@ -3170,7 +3935,7 @@ paths:
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/Task'
+                $ref: '#/components/schemas/Dataset'
           description: Success.
         "401":
           content:
@@ -3191,36 +3956,92 @@ paths:
               schema:
                 $ref: '#/components/schemas/Error'
           description: A specified resource is not found.
-      summary: Get simplified representation of a task
+      summary: Get a dataset
       tags:
-      - DAG
-      x-openapi-router-controller: airflow.api_connexion.endpoints.task_endpoint
-  /dagSources/{file_token}:
+      - Dataset
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dataset_endpoint
+  /datasets/events:
     get:
-      description: |
-        Get a source code using file token.
-      operationId: get_dag_source
+      description: Get dataset events
+      operationId: get_dataset_events
       parameters:
+      - description: The numbers of items to return.
+        explode: true
+        in: query
+        name: limit
+        required: false
+        schema:
+          default: 100
+          type: integer
+        style: form
+      - description: The number of items to skip before starting to collect the result
+          set.
+        explode: true
+        in: query
+        name: offset
+        required: false
+        schema:
+          minimum: 0
+          type: integer
+        style: form
       - description: |
-          The key containing the encrypted path to the file. Encryption and decryption take place only on
-          the server. This prevents the client from reading an non-DAG file. This also ensures API
-          extensibility, because the format of encrypted data may change.
-        explode: false
-        in: path
-        name: file_token
-        required: true
+          The name of the field to order the results by.
+          Prefix a field name with `-` to reverse the sort order.
+
+          *New in version 2.1.0*
+        explode: true
+        in: query
+        name: order_by
+        required: false
         schema:
           type: string
-        style: simple
+        style: form
+      - description: The Dataset ID that updated the dataset.
+        explode: true
+        in: query
+        name: dataset_id
+        required: false
+        schema:
+          type: integer
+        style: form
+      - description: The DAG ID that updated the dataset.
+        explode: true
+        in: query
+        name: source_dag_id
+        required: false
+        schema:
+          type: string
+        style: form
+      - description: The task ID that updated the dataset.
+        explode: true
+        in: query
+        name: source_task_id
+        required: false
+        schema:
+          type: string
+        style: form
+      - description: The DAG run ID that updated the dataset.
+        explode: true
+        in: query
+        name: source_run_id
+        required: false
+        schema:
+          type: string
+        style: form
+      - description: The map index that updated the dataset.
+        explode: true
+        in: query
+        name: source_map_index
+        required: false
+        schema:
+          type: integer
+        style: form
       responses:
         "200":
           content:
             application/json:
               schema:
-                $ref: '#/components/schemas/inline_response_200_1'
-            plain/text:
-              schema:
-                $ref: '#/components/schemas/inline_response_200_1'
+                $ref: '#/components/schemas/DatasetEventCollection'
           description: Success.
         "401":
           content:
@@ -3241,16 +4062,10 @@ paths:
               schema:
                 $ref: '#/components/schemas/Error'
           description: A specified resource is not found.
-        "406":
-          content:
-            application/json:
-              schema:
-                $ref: '#/components/schemas/Error'
-          description: A specified Accept header is not allowed.
-      summary: Get a source code
+      summary: Get dataset events
       tags:
-      - DAG
-      x-openapi-router-controller: airflow.api_connexion.endpoints.dag_source_endpoint
+      - Dataset
+      x-openapi-router-controller: airflow.api_connexion.endpoints.dataset_endpoint
   /config:
     get:
       operationId: get_config
@@ -4107,6 +4922,16 @@ components:
       schema:
         type: integer
       style: simple
+    DatasetURI:
+      description: The encoded Dataset URI
+      explode: false
+      in: path
+      name: uri
+      required: true
+      schema:
+        format: path
+        type: string
+      style: simple
     PoolName:
       description: The pool name.
       explode: false
@@ -4123,6 +4948,7 @@ components:
       name: variable_key
       required: true
       schema:
+        format: path
         type: string
       style: simple
     FullContent:
@@ -4308,6 +5134,60 @@ components:
           type: string
         type: array
       style: form
+    FilterDatasetID:
+      description: The Dataset ID that updated the dataset.
+      explode: true
+      in: query
+      name: dataset_id
+      required: false
+      schema:
+        type: integer
+      style: form
+    FilterSourceDAGID:
+      description: The DAG ID that updated the dataset.
+      explode: true
+      in: query
+      name: source_dag_id
+      required: false
+      schema:
+        type: string
+      style: form
+    FilterSourceTaskID:
+      description: The task ID that updated the dataset.
+      explode: true
+      in: query
+      name: source_task_id
+      required: false
+      schema:
+        type: string
+      style: form
+    FilterSourceRunID:
+      description: The DAG run ID that updated the dataset.
+      explode: true
+      in: query
+      name: source_run_id
+      required: false
+      schema:
+        type: string
+      style: form
+    FilterSourceMapIndex:
+      description: The map index that updated the dataset.
+      explode: true
+      in: query
+      name: source_map_index
+      required: false
+      schema:
+        type: integer
+      style: form
+    FilterMapIndex:
+      description: Filter on map index for mapped task.
+      explode: true
+      in: query
+      name: map_index
+      required: false
+      schema:
+        type: integer
+      style: form
     OrderBy:
       description: |
         The name of the field to order the results by.
@@ -4436,15 +5316,13 @@ components:
           description: |
             The user's first name.
 
-            *Changed in version 2.2.0*&#58; A minimum character length requirement ('minLength') is added.
-          minLength: 1
+            *Changed in version 2.4.0*&#58; The requirement for this to be non-empty was removed.
           type: string
         last_name:
           description: |
             The user's last name.
 
-            *Changed in version 2.2.0*&#58; A minimum character length requirement ('minLength') is added.
-          minLength: 1
+            *Changed in version 2.4.0*&#58; The requirement for this to be non-empty was removed.
           type: string
         username:
           description: |
@@ -4531,6 +5409,10 @@ components:
         conn_type:
           description: The connection type.
           type: string
+        description:
+          description: The description of the connection.
+          nullable: true
+          type: string
         host:
           description: Host of the connection.
           nullable: true
@@ -4809,6 +5691,7 @@ components:
     DAGRun:
       example:
         end_date: 2000-01-23T04:56:07.000+00:00
+        note: note
         execution_date: 2000-01-23T04:56:07.000+00:00
         external_trigger: true
         conf: '{}'
@@ -4899,6 +5782,7 @@ components:
           - backfill
           - manual
           - scheduled
+          - dataset_triggered
           readOnly: true
           type: string
         state:
@@ -4914,6 +5798,13 @@ components:
             The value of this field can be set only when creating the object. If you try to modify the
             field of an existing object, the request fails with an BAD_REQUEST error.
           type: object
+        note:
+          description: |
+            Contains manually entered notes by the user about the DagRun.
+
+            *New in version 2.5.0*
+          nullable: true
+          type: string
       type: object
     UpdateDagRunState:
       description: |
@@ -4940,6 +5831,41 @@ components:
 
         *Changed in version 2.1.0*&#58; 'total_entries' field is added.
       type: object
+    DagWarning:
+      properties:
+        dag_id:
+          description: The dag_id.
+          readOnly: true
+          type: string
+        warning_type:
+          description: The warning type for the dag warning.
+          readOnly: true
+          type: string
+        message:
+          description: The message for the dag warning.
+          readOnly: true
+          type: string
+        timestamp:
+          description: The time when this warning was logged.
+          format: datetime
+          readOnly: true
+          type: string
+      type: object
+    DagWarningCollection:
+      allOf:
+      - $ref: '#/components/schemas/DagWarningCollection_allOf'
+      - $ref: '#/components/schemas/CollectionInfo'
+      description: |
+        Collection of DAG warnings.
+      type: object
+    SetDagRunNote:
+      example:
+        note: note
+      properties:
+        note:
+          description: Custom notes left by users for this Dag Run.
+          type: string
+      type: object
     EventLog:
       description: Log of user operations via CLI or Web UI.
       example:
@@ -5156,39 +6082,104 @@ components:
         task_id: task_id
         dag_id: dag_id
         timestamp: timestamp
+      nullable: true
       properties:
         task_id:
           description: The task ID.
           readOnly: true
           type: string
-        dag_id:
-          description: The DAG ID.
+        dag_id:
+          description: The DAG ID.
+          type: string
+        execution_date:
+          format: datetime
+          type: string
+        email_sent:
+          type: boolean
+        timestamp:
+          format: datetime
+          type: string
+        description:
+          nullable: true
+          type: string
+        notification_sent:
+          type: boolean
+      type: object
+    Trigger:
+      example:
+        classpath: classpath
+        kwargs: kwargs
+        id: 9
+        created_date: created_date
+        triggerer_id: 3
+      properties:
+        id:
+          type: integer
+        classpath:
+          type: string
+        kwargs:
+          type: string
+        created_date:
+          format: datetime
+          type: string
+        triggerer_id:
+          nullable: true
+          type: integer
+      type: object
+    Job:
+      example:
+        job_type: job_type
+        end_date: end_date
+        unixname: unixname
+        latest_heartbeat: latest_heartbeat
+        hostname: hostname
+        id: 2
+        dag_id: dag_id
+        state: state
+        executor_class: executor_class
+        start_date: start_date
+      properties:
+        id:
+          type: integer
+        dag_id:
+          nullable: true
+          type: string
+        state:
+          nullable: true
+          type: string
+        job_type:
+          nullable: true
           type: string
-        execution_date:
+        start_date:
           format: datetime
+          nullable: true
           type: string
-        email_sent:
-          type: boolean
-        timestamp:
+        end_date:
           format: datetime
+          nullable: true
           type: string
-        description:
+        latest_heartbeat:
+          format: datetime
+          nullable: true
+          type: string
+        executor_class:
+          nullable: true
+          type: string
+        hostname:
+          nullable: true
+          type: string
+        unixname:
           nullable: true
           type: string
-        notification_sent:
-          type: boolean
       type: object
     TaskInstance:
       example:
         end_date: end_date
         unixname: unixname
+        note: note
         rendered_fields: '{}'
-        execution_date: execution_date
-        pool_slots: 5
-        pool: pool
         task_id: task_id
-        pid: 2
-        max_tries: 1
+        pid: 7
         operator: operator
         sla_miss:
           notification_sent: true
@@ -5200,14 +6191,36 @@ components:
           timestamp: timestamp
         duration: 0.8008281904610115
         hostname: hostname
+        dag_id: dag_id
+        priority_weight: 2
+        start_date: start_date
+        queued_when: queued_when
+        triggerer_job:
+          job_type: job_type
+          end_date: end_date
+          unixname: unixname
+          latest_heartbeat: latest_heartbeat
+          hostname: hostname
+          id: 2
+          dag_id: dag_id
+          state: state
+          executor_class: executor_class
+          start_date: start_date
+        execution_date: execution_date
+        pool_slots: 5
+        pool: pool
+        map_index: 1
+        max_tries: 5
+        trigger:
+          classpath: classpath
+          kwargs: kwargs
+          id: 9
+          created_date: created_date
+          triggerer_id: 3
         executor_config: executor_config
         dag_run_id: dag_run_id
         try_number: 6
-        dag_id: dag_id
-        priority_weight: 5
         queue: queue
-        start_date: start_date
-        queued_when: queued_when
       properties:
         task_id:
           type: string
@@ -5237,6 +6250,8 @@ components:
           $ref: '#/components/schemas/TaskState'
         try_number:
           type: integer
+        map_index:
+          type: integer
         max_tries:
           type: integer
         hostname:
@@ -5248,8 +6263,10 @@ components:
         pool_slots:
           type: integer
         queue:
+          nullable: true
           type: string
         priority_weight:
+          nullable: true
           type: integer
         operator:
           description: |
@@ -5272,6 +6289,17 @@ components:
 
             *New in version 2.3.0*
           type: object
+        trigger:
+          $ref: '#/components/schemas/Trigger'
+        triggerer_job:
+          $ref: '#/components/schemas/Job'
+        note:
+          description: |
+            Contains manually entered notes by the user about the TaskInstance.
+
+            *New in version 2.5.0*
+          nullable: true
+          type: string
       type: object
     TaskInstanceCollection:
       allOf:
@@ -5330,6 +6358,13 @@ components:
       properties:
         key:
           type: string
+        description:
+          description: |
+            The description of the variable.
+
+            *New in version 2.4.0*
+          nullable: true
+          type: string
       type: object
     VariableCollection:
       allOf:
@@ -5539,6 +6574,7 @@ components:
           readOnly: true
           type: number
         queue:
+          nullable: true
           readOnly: true
           type: string
         pool:
@@ -5738,9 +6774,6 @@ components:
 
         *New in version 2.1.0*
       properties:
-        number:
-          description: The plugin number
-          type: string
         name:
           description: The name of the plugin
           type: string
@@ -5895,6 +6928,222 @@ components:
         resource:
           $ref: '#/components/schemas/Resource'
       type: object
+    Dataset:
+      description: |
+        A dataset item.
+
+        *New in version 2.4.0*
+      example:
+        consuming_dags:
+        - updated_at: updated_at
+          created_at: created_at
+          dag_id: dag_id
+        - updated_at: updated_at
+          created_at: created_at
+          dag_id: dag_id
+        updated_at: updated_at
+        extra: '{}'
+        producing_tasks:
+        - updated_at: updated_at
+          created_at: created_at
+          task_id: task_id
+          dag_id: dag_id
+        - updated_at: updated_at
+          created_at: created_at
+          task_id: task_id
+          dag_id: dag_id
+        created_at: created_at
+        id: 0
+        uri: uri
+      properties:
+        id:
+          description: The dataset id
+          type: integer
+        uri:
+          description: The dataset uri
+          nullable: false
+          type: string
+        extra:
+          description: The dataset extra
+          nullable: true
+          type: object
+        created_at:
+          description: The dataset creation time
+          nullable: false
+          type: string
+        updated_at:
+          description: The dataset update time
+          nullable: false
+          type: string
+        consuming_dags:
+          items:
+            $ref: '#/components/schemas/DagScheduleDatasetReference'
+          type: array
+        producing_tasks:
+          items:
+            $ref: '#/components/schemas/TaskOutletDatasetReference'
+          type: array
+      type: object
+    TaskOutletDatasetReference:
+      description: |
+        A datasets reference to an upstream task.
+
+        *New in version 2.4.0*
+      example:
+        updated_at: updated_at
+        created_at: created_at
+        task_id: task_id
+        dag_id: dag_id
+      properties:
+        dag_id:
+          description: The DAG ID that updates the dataset.
+          nullable: true
+          type: string
+        task_id:
+          description: The task ID that updates the dataset.
+          nullable: true
+          type: string
+        created_at:
+          description: The dataset creation time
+          nullable: false
+          type: string
+        updated_at:
+          description: The dataset update time
+          nullable: false
+          type: string
+      type: object
+    DagScheduleDatasetReference:
+      description: |
+        A datasets reference to a downstream DAG.
+
+        *New in version 2.4.0*
+      example:
+        updated_at: updated_at
+        created_at: created_at
+        dag_id: dag_id
+      properties:
+        dag_id:
+          description: The DAG ID that depends on the dataset.
+          nullable: true
+          type: string
+        created_at:
+          description: The dataset reference creation time
+          nullable: false
+          type: string
+        updated_at:
+          description: The dataset reference update time
+          nullable: false
+          type: string
+      type: object
+    DatasetCollection:
+      allOf:
+      - $ref: '#/components/schemas/DatasetCollection_allOf'
+      - $ref: '#/components/schemas/CollectionInfo'
+      description: |
+        A collection of datasets.
+
+        *New in version 2.4.0*
+      type: object
+    DatasetEvent:
+      description: |
+        A dataset event.
+
+        *New in version 2.4.0*
+      properties:
+        dataset_id:
+          description: The dataset id
+          type: integer
+        dataset_uri:
+          description: The URI of the dataset
+          nullable: false
+          type: string
+        extra:
+          description: The dataset event extra
+          nullable: true
+          type: object
+        source_dag_id:
+          description: The DAG ID that updated the dataset.
+          nullable: true
+          type: string
+        source_task_id:
+          description: The task ID that updated the dataset.
+          nullable: true
+          type: string
+        source_run_id:
+          description: The DAG run ID that updated the dataset.
+          nullable: true
+          type: string
+        source_map_index:
+          description: The task map index that updated the dataset.
+          nullable: true
+          type: integer
+        created_dagruns:
+          items:
+            $ref: '#/components/schemas/BasicDAGRun'
+          type: array
+        timestamp:
+          description: The dataset event creation time
+          nullable: false
+          type: string
+      type: object
+    BasicDAGRun:
+      properties:
+        run_id:
+          description: |
+            Run ID.
+          type: string
+        dag_id:
+          readOnly: true
+          type: string
+        logical_date:
+          description: |
+            The logical date (previously called execution date). This is the time or interval covered by
+            this DAG run, according to the DAG definition.
+
+            The value of this field can be set only when creating the object. If you try to modify the
+            field of an existing object, the request fails with an BAD_REQUEST error.
+
+            This together with DAG_ID are a unique key.
+
+            *New in version 2.2.0*
+          format: date-time
+          type: string
+        start_date:
+          description: |
+            The start time. The time when DAG run was actually created.
+
+            *Changed in version 2.1.3*&#58; Field becomes nullable.
+          format: date-time
+          nullable: true
+          readOnly: true
+          type: string
+        end_date:
+          format: date-time
+          nullable: true
+          readOnly: true
+          type: string
+        data_interval_start:
+          format: date-time
+          nullable: true
+          readOnly: true
+          type: string
+        data_interval_end:
+          format: date-time
+          nullable: true
+          readOnly: true
+          type: string
+        state:
+          $ref: '#/components/schemas/DagState'
+      type: object
+    DatasetEventCollection:
+      allOf:
+      - $ref: '#/components/schemas/DatasetEventCollection_allOf'
+      - $ref: '#/components/schemas/CollectionInfo'
+      description: |
+        A collection of dataset events.
+
+        *New in version 2.4.0*
+      type: object
     ConfigOption:
       description: The option of configuration.
       example:
@@ -5962,18 +7211,34 @@ components:
           nullable: true
           type: string
       type: object
-    ClearTaskInstance:
+    ClearDagRun:
+      example:
+        dry_run: true
+      properties:
+        dry_run:
+          default: true
+          description: |
+            If set, don't actually run this operation. The response will contain a list of task instances
+            planned to be cleaned, but not modified in any way.
+          type: boolean
+      type: object
+    ClearTaskInstances:
       example:
         end_date: end_date
-        only_running: false
+        include_future: false
+        include_past: false
         reset_dag_runs: true
         include_parentdag: true
         include_subdags: true
-        dry_run: true
-        only_failed: true
         task_ids:
         - task_ids
         - task_ids
+        include_downstream: false
+        only_running: false
+        dag_run_id: dag_run_id
+        include_upstream: false
+        dry_run: true
+        only_failed: true
         start_date: start_date
       properties:
         dry_run:
@@ -6017,6 +7282,26 @@ components:
         reset_dag_runs:
           description: Set state of DAG runs to RUNNING.
           type: boolean
+        dag_run_id:
+          description: The DagRun ID for this task instance
+          nullable: true
+          type: string
+        include_upstream:
+          default: false
+          description: If set to true, upstream tasks are also affected.
+          type: boolean
+        include_downstream:
+          default: false
+          description: If set to true, downstream tasks are also affected.
+          type: boolean
+        include_future:
+          default: false
+          description: If set to True, also tasks from future DAG Runs are affected.
+          type: boolean
+        include_past:
+          default: false
+          description: If set to True, also tasks from past DAG Runs are affected.
+          type: boolean
       type: object
     UpdateTaskInstancesState:
       example:
@@ -6068,6 +7353,34 @@ components:
           - failed
           type: string
       type: object
+    UpdateTaskInstance:
+      example:
+        new_state: success
+        dry_run: false
+      properties:
+        dry_run:
+          default: false
+          description: |
+            If set, don't actually run this operation. The response will contain the task instance
+            planned to be affected, but won't be modified in any way.
+          type: boolean
+        new_state:
+          description: Expected new state.
+          enum:
+          - success
+          - failed
+          type: string
+      type: object
+    SetTaskInstanceNote:
+      example:
+        note: note
+      properties:
+        note:
+          description: The custom note to set for this Task Instance.
+          type: string
+      required:
+      - note
+      type: object
     ListDagRunsForm:
       example:
         start_date_gte: 2000-01-23T04:56:07.000+00:00
@@ -6273,6 +7586,7 @@ components:
         execution_date to figure out the next schedule.
       discriminator:
         propertyName: __type
+      nullable: true
       readOnly: true
     TimeDelta:
       description: Time delta
@@ -6432,7 +7746,10 @@ components:
 
         *Changed in version 2.0.2*&#58; 'removed' is added as a possible value.
 
-        *Changed in version 2.2.0*&#58; 'deferred' and 'sensing' is added as a possible value.
+        *Changed in version 2.2.0*&#58; 'deferred' is added as a possible value.
+
+        *Changed in version 2.4.0*&#58; 'sensing' state has been removed.
+        *Changed in version 2.4.2*&#58; 'restarting' is added as a possible value
       enum:
       - success
       - running
@@ -6445,8 +7762,8 @@ components:
       - none
       - scheduled
       - deferred
-      - sensing
       - removed
+      - restarting
       type: string
     DagState:
       description: |
@@ -6561,6 +7878,13 @@ components:
             $ref: '#/components/schemas/DAGRun'
           type: array
       type: object
+    DagWarningCollection_allOf:
+      properties:
+        import_errors:
+          items:
+            $ref: '#/components/schemas/DagWarning'
+          type: array
+      type: object
     EventLogCollection_allOf:
       properties:
         event_logs:
@@ -6726,6 +8050,20 @@ components:
             $ref: '#/components/schemas/Action'
           type: array
       type: object
+    DatasetCollection_allOf:
+      properties:
+        datasets:
+          items:
+            $ref: '#/components/schemas/Dataset'
+          type: array
+      type: object
+    DatasetEventCollection_allOf:
+      properties:
+        dataset_events:
+          items:
+            $ref: '#/components/schemas/DatasetEvent'
+          type: array
+      type: object
   securitySchemes:
     Basic:
       scheme: basic
diff --git a/airflow/api_config.go b/airflow/api_config.go
index da4c41e..3622137 100644
--- a/airflow/api_config.go
+++ b/airflow/api_config.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -44,13 +44,13 @@ var (
 // ConfigApiService ConfigApi service
 type ConfigApiService service
 
-type ApiGetConfigRequest struct {
+type ConfigApiApiGetConfigRequest struct {
 	ctx _context.Context
 	ApiService *ConfigApiService
 }
 
 
-func (r ApiGetConfigRequest) Execute() (Config, *_nethttp.Response, error) {
+func (r ConfigApiApiGetConfigRequest) Execute() (Config, *_nethttp.Response, error) {
 	return r.ApiService.GetConfigExecute(r)
 }
 
@@ -58,10 +58,10 @@ func (r ApiGetConfigRequest) Execute() (Config, *_nethttp.Response, error) {
 GetConfig Get current configuration
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetConfigRequest
+ @return ConfigApiApiGetConfigRequest
 */
-func (a *ConfigApiService) GetConfig(ctx _context.Context) ApiGetConfigRequest {
-	return ApiGetConfigRequest{
+func (a *ConfigApiService) GetConfig(ctx _context.Context) ConfigApiApiGetConfigRequest {
+	return ConfigApiApiGetConfigRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -69,7 +69,7 @@ func (a *ConfigApiService) GetConfig(ctx _context.Context) ApiGetConfigRequest {
 
 // Execute executes the request
 //  @return Config
-func (a *ConfigApiService) GetConfigExecute(r ApiGetConfigRequest) (Config, *_nethttp.Response, error) {
+func (a *ConfigApiService) GetConfigExecute(r ConfigApiApiGetConfigRequest) (Config, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_connection.go b/airflow/api_connection.go
index e39bbd0..7b39cee 100644
--- a/airflow/api_connection.go
+++ b/airflow/api_connection.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // ConnectionApiService ConnectionApi service
 type ConnectionApiService service
 
-type ApiDeleteConnectionRequest struct {
+type ConnectionApiApiDeleteConnectionRequest struct {
 	ctx _context.Context
 	ApiService *ConnectionApiService
 	connectionId string
 }
 
 
-func (r ApiDeleteConnectionRequest) Execute() (*_nethttp.Response, error) {
+func (r ConnectionApiApiDeleteConnectionRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeleteConnectionExecute(r)
 }
 
@@ -61,10 +61,10 @@ DeleteConnection Delete a connection
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param connectionId The connection ID.
- @return ApiDeleteConnectionRequest
+ @return ConnectionApiApiDeleteConnectionRequest
 */
-func (a *ConnectionApiService) DeleteConnection(ctx _context.Context, connectionId string) ApiDeleteConnectionRequest {
-	return ApiDeleteConnectionRequest{
+func (a *ConnectionApiService) DeleteConnection(ctx _context.Context, connectionId string) ConnectionApiApiDeleteConnectionRequest {
+	return ConnectionApiApiDeleteConnectionRequest{
 		ApiService: a,
 		ctx: ctx,
 		connectionId: connectionId,
@@ -72,7 +72,7 @@ func (a *ConnectionApiService) DeleteConnection(ctx _context.Context, connection
 }
 
 // Execute executes the request
-func (a *ConnectionApiService) DeleteConnectionExecute(r ApiDeleteConnectionRequest) (*_nethttp.Response, error) {
+func (a *ConnectionApiService) DeleteConnectionExecute(r ConnectionApiApiDeleteConnectionRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -177,14 +177,14 @@ func (a *ConnectionApiService) DeleteConnectionExecute(r ApiDeleteConnectionRequ
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetConnectionRequest struct {
+type ConnectionApiApiGetConnectionRequest struct {
 	ctx _context.Context
 	ApiService *ConnectionApiService
 	connectionId string
 }
 
 
-func (r ApiGetConnectionRequest) Execute() (Connection, *_nethttp.Response, error) {
+func (r ConnectionApiApiGetConnectionRequest) Execute() (Connection, *_nethttp.Response, error) {
 	return r.ApiService.GetConnectionExecute(r)
 }
 
@@ -193,10 +193,10 @@ GetConnection Get a connection
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param connectionId The connection ID.
- @return ApiGetConnectionRequest
+ @return ConnectionApiApiGetConnectionRequest
 */
-func (a *ConnectionApiService) GetConnection(ctx _context.Context, connectionId string) ApiGetConnectionRequest {
-	return ApiGetConnectionRequest{
+func (a *ConnectionApiService) GetConnection(ctx _context.Context, connectionId string) ConnectionApiApiGetConnectionRequest {
+	return ConnectionApiApiGetConnectionRequest{
 		ApiService: a,
 		ctx: ctx,
 		connectionId: connectionId,
@@ -205,7 +205,7 @@ func (a *ConnectionApiService) GetConnection(ctx _context.Context, connectionId
 
 // Execute executes the request
 //  @return Connection
-func (a *ConnectionApiService) GetConnectionExecute(r ApiGetConnectionRequest) (Connection, *_nethttp.Response, error) {
+func (a *ConnectionApiService) GetConnectionExecute(r ConnectionApiApiGetConnectionRequest) (Connection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -310,7 +310,7 @@ func (a *ConnectionApiService) GetConnectionExecute(r ApiGetConnectionRequest) (
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetConnectionsRequest struct {
+type ConnectionApiApiGetConnectionsRequest struct {
 	ctx _context.Context
 	ApiService *ConnectionApiService
 	limit *int32
@@ -319,22 +319,22 @@ type ApiGetConnectionsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetConnectionsRequest) Limit(limit int32) ApiGetConnectionsRequest {
+func (r ConnectionApiApiGetConnectionsRequest) Limit(limit int32) ConnectionApiApiGetConnectionsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetConnectionsRequest) Offset(offset int32) ApiGetConnectionsRequest {
+func (r ConnectionApiApiGetConnectionsRequest) Offset(offset int32) ConnectionApiApiGetConnectionsRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetConnectionsRequest) OrderBy(orderBy string) ApiGetConnectionsRequest {
+func (r ConnectionApiApiGetConnectionsRequest) OrderBy(orderBy string) ConnectionApiApiGetConnectionsRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetConnectionsRequest) Execute() (ConnectionCollection, *_nethttp.Response, error) {
+func (r ConnectionApiApiGetConnectionsRequest) Execute() (ConnectionCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetConnectionsExecute(r)
 }
 
@@ -342,10 +342,10 @@ func (r ApiGetConnectionsRequest) Execute() (ConnectionCollection, *_nethttp.Res
 GetConnections List connections
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetConnectionsRequest
+ @return ConnectionApiApiGetConnectionsRequest
 */
-func (a *ConnectionApiService) GetConnections(ctx _context.Context) ApiGetConnectionsRequest {
-	return ApiGetConnectionsRequest{
+func (a *ConnectionApiService) GetConnections(ctx _context.Context) ConnectionApiApiGetConnectionsRequest {
+	return ConnectionApiApiGetConnectionsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -353,7 +353,7 @@ func (a *ConnectionApiService) GetConnections(ctx _context.Context) ApiGetConnec
 
 // Execute executes the request
 //  @return ConnectionCollection
-func (a *ConnectionApiService) GetConnectionsExecute(r ApiGetConnectionsRequest) (ConnectionCollection, *_nethttp.Response, error) {
+func (a *ConnectionApiService) GetConnectionsExecute(r ConnectionApiApiGetConnectionsRequest) (ConnectionCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -456,7 +456,7 @@ func (a *ConnectionApiService) GetConnectionsExecute(r ApiGetConnectionsRequest)
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchConnectionRequest struct {
+type ConnectionApiApiPatchConnectionRequest struct {
 	ctx _context.Context
 	ApiService *ConnectionApiService
 	connectionId string
@@ -464,17 +464,17 @@ type ApiPatchConnectionRequest struct {
 	updateMask *[]string
 }
 
-func (r ApiPatchConnectionRequest) Connection(connection Connection) ApiPatchConnectionRequest {
+func (r ConnectionApiApiPatchConnectionRequest) Connection(connection Connection) ConnectionApiApiPatchConnectionRequest {
 	r.connection = &connection
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchConnectionRequest) UpdateMask(updateMask []string) ApiPatchConnectionRequest {
+func (r ConnectionApiApiPatchConnectionRequest) UpdateMask(updateMask []string) ConnectionApiApiPatchConnectionRequest {
 	r.updateMask = &updateMask
 	return r
 }
 
-func (r ApiPatchConnectionRequest) Execute() (Connection, *_nethttp.Response, error) {
+func (r ConnectionApiApiPatchConnectionRequest) Execute() (Connection, *_nethttp.Response, error) {
 	return r.ApiService.PatchConnectionExecute(r)
 }
 
@@ -483,10 +483,10 @@ PatchConnection Update a connection
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param connectionId The connection ID.
- @return ApiPatchConnectionRequest
+ @return ConnectionApiApiPatchConnectionRequest
 */
-func (a *ConnectionApiService) PatchConnection(ctx _context.Context, connectionId string) ApiPatchConnectionRequest {
-	return ApiPatchConnectionRequest{
+func (a *ConnectionApiService) PatchConnection(ctx _context.Context, connectionId string) ConnectionApiApiPatchConnectionRequest {
+	return ConnectionApiApiPatchConnectionRequest{
 		ApiService: a,
 		ctx: ctx,
 		connectionId: connectionId,
@@ -495,7 +495,7 @@ func (a *ConnectionApiService) PatchConnection(ctx _context.Context, connectionI
 
 // Execute executes the request
 //  @return Connection
-func (a *ConnectionApiService) PatchConnectionExecute(r ApiPatchConnectionRequest) (Connection, *_nethttp.Response, error) {
+func (a *ConnectionApiService) PatchConnectionExecute(r ConnectionApiApiPatchConnectionRequest) (Connection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -618,18 +618,18 @@ func (a *ConnectionApiService) PatchConnectionExecute(r ApiPatchConnectionReques
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostConnectionRequest struct {
+type ConnectionApiApiPostConnectionRequest struct {
 	ctx _context.Context
 	ApiService *ConnectionApiService
 	connection *Connection
 }
 
-func (r ApiPostConnectionRequest) Connection(connection Connection) ApiPostConnectionRequest {
+func (r ConnectionApiApiPostConnectionRequest) Connection(connection Connection) ConnectionApiApiPostConnectionRequest {
 	r.connection = &connection
 	return r
 }
 
-func (r ApiPostConnectionRequest) Execute() (Connection, *_nethttp.Response, error) {
+func (r ConnectionApiApiPostConnectionRequest) Execute() (Connection, *_nethttp.Response, error) {
 	return r.ApiService.PostConnectionExecute(r)
 }
 
@@ -637,10 +637,10 @@ func (r ApiPostConnectionRequest) Execute() (Connection, *_nethttp.Response, err
 PostConnection Create a connection
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPostConnectionRequest
+ @return ConnectionApiApiPostConnectionRequest
 */
-func (a *ConnectionApiService) PostConnection(ctx _context.Context) ApiPostConnectionRequest {
-	return ApiPostConnectionRequest{
+func (a *ConnectionApiService) PostConnection(ctx _context.Context) ConnectionApiApiPostConnectionRequest {
+	return ConnectionApiApiPostConnectionRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -648,7 +648,7 @@ func (a *ConnectionApiService) PostConnection(ctx _context.Context) ApiPostConne
 
 // Execute executes the request
 //  @return Connection
-func (a *ConnectionApiService) PostConnectionExecute(r ApiPostConnectionRequest) (Connection, *_nethttp.Response, error) {
+func (a *ConnectionApiService) PostConnectionExecute(r ConnectionApiApiPostConnectionRequest) (Connection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
@@ -757,18 +757,18 @@ func (a *ConnectionApiService) PostConnectionExecute(r ApiPostConnectionRequest)
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiTestConnectionRequest struct {
+type ConnectionApiApiTestConnectionRequest struct {
 	ctx _context.Context
 	ApiService *ConnectionApiService
 	connection *Connection
 }
 
-func (r ApiTestConnectionRequest) Connection(connection Connection) ApiTestConnectionRequest {
+func (r ConnectionApiApiTestConnectionRequest) Connection(connection Connection) ConnectionApiApiTestConnectionRequest {
 	r.connection = &connection
 	return r
 }
 
-func (r ApiTestConnectionRequest) Execute() (ConnectionTest, *_nethttp.Response, error) {
+func (r ConnectionApiApiTestConnectionRequest) Execute() (ConnectionTest, *_nethttp.Response, error) {
 	return r.ApiService.TestConnectionExecute(r)
 }
 
@@ -781,10 +781,10 @@ Test a connection.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiTestConnectionRequest
+ @return ConnectionApiApiTestConnectionRequest
 */
-func (a *ConnectionApiService) TestConnection(ctx _context.Context) ApiTestConnectionRequest {
-	return ApiTestConnectionRequest{
+func (a *ConnectionApiService) TestConnection(ctx _context.Context) ConnectionApiApiTestConnectionRequest {
+	return ConnectionApiApiTestConnectionRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -792,7 +792,7 @@ func (a *ConnectionApiService) TestConnection(ctx _context.Context) ApiTestConne
 
 // Execute executes the request
 //  @return ConnectionTest
-func (a *ConnectionApiService) TestConnectionExecute(r ApiTestConnectionRequest) (ConnectionTest, *_nethttp.Response, error) {
+func (a *ConnectionApiService) TestConnectionExecute(r ConnectionApiApiTestConnectionRequest) (ConnectionTest, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
diff --git a/airflow/api_dag.go b/airflow/api_dag.go
index 243bf42..2c48270 100644
--- a/airflow/api_dag.go
+++ b/airflow/api_dag.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -46,14 +46,14 @@ var (
 // DAGApiService DAGApi service
 type DAGApiService service
 
-type ApiDeleteDagRequest struct {
+type DAGApiApiDeleteDagRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
 }
 
 
-func (r ApiDeleteDagRequest) Execute() (*_nethttp.Response, error) {
+func (r DAGApiApiDeleteDagRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeleteDagExecute(r)
 }
 
@@ -68,10 +68,10 @@ Logs are not deleted. This action cannot be undone.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiDeleteDagRequest
+ @return DAGApiApiDeleteDagRequest
 */
-func (a *DAGApiService) DeleteDag(ctx _context.Context, dagId string) ApiDeleteDagRequest {
-	return ApiDeleteDagRequest{
+func (a *DAGApiService) DeleteDag(ctx _context.Context, dagId string) DAGApiApiDeleteDagRequest {
+	return DAGApiApiDeleteDagRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -79,7 +79,7 @@ func (a *DAGApiService) DeleteDag(ctx _context.Context, dagId string) ApiDeleteD
 }
 
 // Execute executes the request
-func (a *DAGApiService) DeleteDagExecute(r ApiDeleteDagRequest) (*_nethttp.Response, error) {
+func (a *DAGApiService) DeleteDagExecute(r DAGApiApiDeleteDagRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -194,14 +194,14 @@ func (a *DAGApiService) DeleteDagExecute(r ApiDeleteDagRequest) (*_nethttp.Respo
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetDagRequest struct {
+type DAGApiApiGetDagRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
 }
 
 
-func (r ApiGetDagRequest) Execute() (DAG, *_nethttp.Response, error) {
+func (r DAGApiApiGetDagRequest) Execute() (DAG, *_nethttp.Response, error) {
 	return r.ApiService.GetDagExecute(r)
 }
 
@@ -214,10 +214,10 @@ If you need detailed information, consider using GET /dags/{dag_id}/details.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiGetDagRequest
+ @return DAGApiApiGetDagRequest
 */
-func (a *DAGApiService) GetDag(ctx _context.Context, dagId string) ApiGetDagRequest {
-	return ApiGetDagRequest{
+func (a *DAGApiService) GetDag(ctx _context.Context, dagId string) DAGApiApiGetDagRequest {
+	return DAGApiApiGetDagRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -226,7 +226,7 @@ func (a *DAGApiService) GetDag(ctx _context.Context, dagId string) ApiGetDagRequ
 
 // Execute executes the request
 //  @return DAG
-func (a *DAGApiService) GetDagExecute(r ApiGetDagRequest) (DAG, *_nethttp.Response, error) {
+func (a *DAGApiService) GetDagExecute(r DAGApiApiGetDagRequest) (DAG, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -331,14 +331,14 @@ func (a *DAGApiService) GetDagExecute(r ApiGetDagRequest) (DAG, *_nethttp.Respon
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetDagDetailsRequest struct {
+type DAGApiApiGetDagDetailsRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
 }
 
 
-func (r ApiGetDagDetailsRequest) Execute() (DAGDetail, *_nethttp.Response, error) {
+func (r DAGApiApiGetDagDetailsRequest) Execute() (DAGDetail, *_nethttp.Response, error) {
 	return r.ApiService.GetDagDetailsExecute(r)
 }
 
@@ -350,10 +350,10 @@ The response contains many DAG attributes, so the response can be large. If poss
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiGetDagDetailsRequest
+ @return DAGApiApiGetDagDetailsRequest
 */
-func (a *DAGApiService) GetDagDetails(ctx _context.Context, dagId string) ApiGetDagDetailsRequest {
-	return ApiGetDagDetailsRequest{
+func (a *DAGApiService) GetDagDetails(ctx _context.Context, dagId string) DAGApiApiGetDagDetailsRequest {
+	return DAGApiApiGetDagDetailsRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -362,7 +362,7 @@ func (a *DAGApiService) GetDagDetails(ctx _context.Context, dagId string) ApiGet
 
 // Execute executes the request
 //  @return DAGDetail
-func (a *DAGApiService) GetDagDetailsExecute(r ApiGetDagDetailsRequest) (DAGDetail, *_nethttp.Response, error) {
+func (a *DAGApiService) GetDagDetailsExecute(r DAGApiApiGetDagDetailsRequest) (DAGDetail, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -467,14 +467,14 @@ func (a *DAGApiService) GetDagDetailsExecute(r ApiGetDagDetailsRequest) (DAGDeta
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetDagSourceRequest struct {
+type DAGApiApiGetDagSourceRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	fileToken string
 }
 
 
-func (r ApiGetDagSourceRequest) Execute() (InlineResponse2001, *_nethttp.Response, error) {
+func (r DAGApiApiGetDagSourceRequest) Execute() (InlineResponse2001, *_nethttp.Response, error) {
 	return r.ApiService.GetDagSourceExecute(r)
 }
 
@@ -486,10 +486,10 @@ Get a source code using file token.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param fileToken The key containing the encrypted path to the file. Encryption and decryption take place only on the server. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change. 
- @return ApiGetDagSourceRequest
+ @return DAGApiApiGetDagSourceRequest
 */
-func (a *DAGApiService) GetDagSource(ctx _context.Context, fileToken string) ApiGetDagSourceRequest {
-	return ApiGetDagSourceRequest{
+func (a *DAGApiService) GetDagSource(ctx _context.Context, fileToken string) DAGApiApiGetDagSourceRequest {
+	return DAGApiApiGetDagSourceRequest{
 		ApiService: a,
 		ctx: ctx,
 		fileToken: fileToken,
@@ -498,7 +498,7 @@ func (a *DAGApiService) GetDagSource(ctx _context.Context, fileToken string) Api
 
 // Execute executes the request
 //  @return InlineResponse2001
-func (a *DAGApiService) GetDagSourceExecute(r ApiGetDagSourceRequest) (InlineResponse2001, *_nethttp.Response, error) {
+func (a *DAGApiService) GetDagSourceExecute(r DAGApiApiGetDagSourceRequest) (InlineResponse2001, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -613,7 +613,7 @@ func (a *DAGApiService) GetDagSourceExecute(r ApiGetDagSourceRequest) (InlineRes
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetDagsRequest struct {
+type DAGApiApiGetDagsRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	limit *int32
@@ -625,37 +625,37 @@ type ApiGetDagsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetDagsRequest) Limit(limit int32) ApiGetDagsRequest {
+func (r DAGApiApiGetDagsRequest) Limit(limit int32) DAGApiApiGetDagsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetDagsRequest) Offset(offset int32) ApiGetDagsRequest {
+func (r DAGApiApiGetDagsRequest) Offset(offset int32) DAGApiApiGetDagsRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetDagsRequest) OrderBy(orderBy string) ApiGetDagsRequest {
+func (r DAGApiApiGetDagsRequest) OrderBy(orderBy string) DAGApiApiGetDagsRequest {
 	r.orderBy = &orderBy
 	return r
 }
 // List of tags to filter results.  *New in version 2.2.0* 
-func (r ApiGetDagsRequest) Tags(tags []string) ApiGetDagsRequest {
+func (r DAGApiApiGetDagsRequest) Tags(tags []string) DAGApiApiGetDagsRequest {
 	r.tags = &tags
 	return r
 }
 // Only filter active DAGs.  *New in version 2.1.1* 
-func (r ApiGetDagsRequest) OnlyActive(onlyActive bool) ApiGetDagsRequest {
+func (r DAGApiApiGetDagsRequest) OnlyActive(onlyActive bool) DAGApiApiGetDagsRequest {
 	r.onlyActive = &onlyActive
 	return r
 }
 // If set, only return DAGs with dag_ids matching this pattern. 
-func (r ApiGetDagsRequest) DagIdPattern(dagIdPattern string) ApiGetDagsRequest {
+func (r DAGApiApiGetDagsRequest) DagIdPattern(dagIdPattern string) DAGApiApiGetDagsRequest {
 	r.dagIdPattern = &dagIdPattern
 	return r
 }
 
-func (r ApiGetDagsRequest) Execute() (DAGCollection, *_nethttp.Response, error) {
+func (r DAGApiApiGetDagsRequest) Execute() (DAGCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetDagsExecute(r)
 }
 
@@ -667,10 +667,10 @@ List DAGs in the database.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetDagsRequest
+ @return DAGApiApiGetDagsRequest
 */
-func (a *DAGApiService) GetDags(ctx _context.Context) ApiGetDagsRequest {
-	return ApiGetDagsRequest{
+func (a *DAGApiService) GetDags(ctx _context.Context) DAGApiApiGetDagsRequest {
+	return DAGApiApiGetDagsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -678,7 +678,7 @@ func (a *DAGApiService) GetDags(ctx _context.Context) ApiGetDagsRequest {
 
 // Execute executes the request
 //  @return DAGCollection
-func (a *DAGApiService) GetDagsExecute(r ApiGetDagsRequest) (DAGCollection, *_nethttp.Response, error) {
+func (a *DAGApiService) GetDagsExecute(r DAGApiApiGetDagsRequest) (DAGCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -788,7 +788,7 @@ func (a *DAGApiService) GetDagsExecute(r ApiGetDagsRequest) (DAGCollection, *_ne
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetTaskRequest struct {
+type DAGApiApiGetTaskRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
@@ -796,7 +796,7 @@ type ApiGetTaskRequest struct {
 }
 
 
-func (r ApiGetTaskRequest) Execute() (Task, *_nethttp.Response, error) {
+func (r DAGApiApiGetTaskRequest) Execute() (Task, *_nethttp.Response, error) {
 	return r.ApiService.GetTaskExecute(r)
 }
 
@@ -806,10 +806,10 @@ GetTask Get simplified representation of a task
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
  @param taskId The task ID.
- @return ApiGetTaskRequest
+ @return DAGApiApiGetTaskRequest
 */
-func (a *DAGApiService) GetTask(ctx _context.Context, dagId string, taskId string) ApiGetTaskRequest {
-	return ApiGetTaskRequest{
+func (a *DAGApiService) GetTask(ctx _context.Context, dagId string, taskId string) DAGApiApiGetTaskRequest {
+	return DAGApiApiGetTaskRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -819,7 +819,7 @@ func (a *DAGApiService) GetTask(ctx _context.Context, dagId string, taskId strin
 
 // Execute executes the request
 //  @return Task
-func (a *DAGApiService) GetTaskExecute(r ApiGetTaskRequest) (Task, *_nethttp.Response, error) {
+func (a *DAGApiService) GetTaskExecute(r DAGApiApiGetTaskRequest) (Task, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -925,7 +925,7 @@ func (a *DAGApiService) GetTaskExecute(r ApiGetTaskRequest) (Task, *_nethttp.Res
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetTasksRequest struct {
+type DAGApiApiGetTasksRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
@@ -933,12 +933,12 @@ type ApiGetTasksRequest struct {
 }
 
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetTasksRequest) OrderBy(orderBy string) ApiGetTasksRequest {
+func (r DAGApiApiGetTasksRequest) OrderBy(orderBy string) DAGApiApiGetTasksRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetTasksRequest) Execute() (TaskCollection, *_nethttp.Response, error) {
+func (r DAGApiApiGetTasksRequest) Execute() (TaskCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetTasksExecute(r)
 }
 
@@ -947,10 +947,10 @@ GetTasks Get tasks for DAG
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiGetTasksRequest
+ @return DAGApiApiGetTasksRequest
 */
-func (a *DAGApiService) GetTasks(ctx _context.Context, dagId string) ApiGetTasksRequest {
-	return ApiGetTasksRequest{
+func (a *DAGApiService) GetTasks(ctx _context.Context, dagId string) DAGApiApiGetTasksRequest {
+	return DAGApiApiGetTasksRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -959,7 +959,7 @@ func (a *DAGApiService) GetTasks(ctx _context.Context, dagId string) ApiGetTasks
 
 // Execute executes the request
 //  @return TaskCollection
-func (a *DAGApiService) GetTasksExecute(r ApiGetTasksRequest) (TaskCollection, *_nethttp.Response, error) {
+func (a *DAGApiService) GetTasksExecute(r DAGApiApiGetTasksRequest) (TaskCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -1067,7 +1067,7 @@ func (a *DAGApiService) GetTasksExecute(r ApiGetTasksRequest) (TaskCollection, *
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchDagRequest struct {
+type DAGApiApiPatchDagRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
@@ -1075,17 +1075,17 @@ type ApiPatchDagRequest struct {
 	updateMask *[]string
 }
 
-func (r ApiPatchDagRequest) DAG(dAG DAG) ApiPatchDagRequest {
+func (r DAGApiApiPatchDagRequest) DAG(dAG DAG) DAGApiApiPatchDagRequest {
 	r.dAG = &dAG
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchDagRequest) UpdateMask(updateMask []string) ApiPatchDagRequest {
+func (r DAGApiApiPatchDagRequest) UpdateMask(updateMask []string) DAGApiApiPatchDagRequest {
 	r.updateMask = &updateMask
 	return r
 }
 
-func (r ApiPatchDagRequest) Execute() (DAG, *_nethttp.Response, error) {
+func (r DAGApiApiPatchDagRequest) Execute() (DAG, *_nethttp.Response, error) {
 	return r.ApiService.PatchDagExecute(r)
 }
 
@@ -1094,10 +1094,10 @@ PatchDag Update a DAG
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiPatchDagRequest
+ @return DAGApiApiPatchDagRequest
 */
-func (a *DAGApiService) PatchDag(ctx _context.Context, dagId string) ApiPatchDagRequest {
-	return ApiPatchDagRequest{
+func (a *DAGApiService) PatchDag(ctx _context.Context, dagId string) DAGApiApiPatchDagRequest {
+	return DAGApiApiPatchDagRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -1106,7 +1106,7 @@ func (a *DAGApiService) PatchDag(ctx _context.Context, dagId string) ApiPatchDag
 
 // Execute executes the request
 //  @return DAG
-func (a *DAGApiService) PatchDagExecute(r ApiPatchDagRequest) (DAG, *_nethttp.Response, error) {
+func (a *DAGApiService) PatchDagExecute(r DAGApiApiPatchDagRequest) (DAG, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -1219,7 +1219,7 @@ func (a *DAGApiService) PatchDagExecute(r ApiPatchDagRequest) (DAG, *_nethttp.Re
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchDagsRequest struct {
+type DAGApiApiPatchDagsRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagIdPattern *string
@@ -1232,41 +1232,41 @@ type ApiPatchDagsRequest struct {
 }
 
 // If set, only update DAGs with dag_ids matching this pattern. 
-func (r ApiPatchDagsRequest) DagIdPattern(dagIdPattern string) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) DagIdPattern(dagIdPattern string) DAGApiApiPatchDagsRequest {
 	r.dagIdPattern = &dagIdPattern
 	return r
 }
-func (r ApiPatchDagsRequest) DAG(dAG DAG) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) DAG(dAG DAG) DAGApiApiPatchDagsRequest {
 	r.dAG = &dAG
 	return r
 }
 // The numbers of items to return.
-func (r ApiPatchDagsRequest) Limit(limit int32) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) Limit(limit int32) DAGApiApiPatchDagsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiPatchDagsRequest) Offset(offset int32) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) Offset(offset int32) DAGApiApiPatchDagsRequest {
 	r.offset = &offset
 	return r
 }
 // List of tags to filter results.  *New in version 2.2.0* 
-func (r ApiPatchDagsRequest) Tags(tags []string) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) Tags(tags []string) DAGApiApiPatchDagsRequest {
 	r.tags = &tags
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchDagsRequest) UpdateMask(updateMask []string) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) UpdateMask(updateMask []string) DAGApiApiPatchDagsRequest {
 	r.updateMask = &updateMask
 	return r
 }
 // Only filter active DAGs.  *New in version 2.1.1* 
-func (r ApiPatchDagsRequest) OnlyActive(onlyActive bool) ApiPatchDagsRequest {
+func (r DAGApiApiPatchDagsRequest) OnlyActive(onlyActive bool) DAGApiApiPatchDagsRequest {
 	r.onlyActive = &onlyActive
 	return r
 }
 
-func (r ApiPatchDagsRequest) Execute() (DAGCollection, *_nethttp.Response, error) {
+func (r DAGApiApiPatchDagsRequest) Execute() (DAGCollection, *_nethttp.Response, error) {
 	return r.ApiService.PatchDagsExecute(r)
 }
 
@@ -1279,10 +1279,10 @@ This endpoint allows specifying `~` as the dag_id_pattern to update all DAGs.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPatchDagsRequest
+ @return DAGApiApiPatchDagsRequest
 */
-func (a *DAGApiService) PatchDags(ctx _context.Context) ApiPatchDagsRequest {
-	return ApiPatchDagsRequest{
+func (a *DAGApiService) PatchDags(ctx _context.Context) DAGApiApiPatchDagsRequest {
+	return DAGApiApiPatchDagsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -1290,7 +1290,7 @@ func (a *DAGApiService) PatchDags(ctx _context.Context) ApiPatchDagsRequest {
 
 // Execute executes the request
 //  @return DAGCollection
-func (a *DAGApiService) PatchDagsExecute(r ApiPatchDagsRequest) (DAGCollection, *_nethttp.Response, error) {
+func (a *DAGApiService) PatchDagsExecute(r DAGApiApiPatchDagsRequest) (DAGCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -1426,20 +1426,20 @@ func (a *DAGApiService) PatchDagsExecute(r ApiPatchDagsRequest) (DAGCollection,
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostClearTaskInstancesRequest struct {
+type DAGApiApiPostClearTaskInstancesRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
-	clearTaskInstance *ClearTaskInstance
+	clearTaskInstances *ClearTaskInstances
 }
 
 // Parameters of action
-func (r ApiPostClearTaskInstancesRequest) ClearTaskInstance(clearTaskInstance ClearTaskInstance) ApiPostClearTaskInstancesRequest {
-	r.clearTaskInstance = &clearTaskInstance
+func (r DAGApiApiPostClearTaskInstancesRequest) ClearTaskInstances(clearTaskInstances ClearTaskInstances) DAGApiApiPostClearTaskInstancesRequest {
+	r.clearTaskInstances = &clearTaskInstances
 	return r
 }
 
-func (r ApiPostClearTaskInstancesRequest) Execute() (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
+func (r DAGApiApiPostClearTaskInstancesRequest) Execute() (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
 	return r.ApiService.PostClearTaskInstancesExecute(r)
 }
 
@@ -1451,10 +1451,10 @@ Clears a set of task instances associated with the DAG for a specified date rang
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiPostClearTaskInstancesRequest
+ @return DAGApiApiPostClearTaskInstancesRequest
 */
-func (a *DAGApiService) PostClearTaskInstances(ctx _context.Context, dagId string) ApiPostClearTaskInstancesRequest {
-	return ApiPostClearTaskInstancesRequest{
+func (a *DAGApiService) PostClearTaskInstances(ctx _context.Context, dagId string) DAGApiApiPostClearTaskInstancesRequest {
+	return DAGApiApiPostClearTaskInstancesRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -1463,7 +1463,7 @@ func (a *DAGApiService) PostClearTaskInstances(ctx _context.Context, dagId strin
 
 // Execute executes the request
 //  @return TaskInstanceReferenceCollection
-func (a *DAGApiService) PostClearTaskInstancesExecute(r ApiPostClearTaskInstancesRequest) (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
+func (a *DAGApiService) PostClearTaskInstancesExecute(r DAGApiApiPostClearTaskInstancesRequest) (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
@@ -1484,8 +1484,8 @@ func (a *DAGApiService) PostClearTaskInstancesExecute(r ApiPostClearTaskInstance
 	localVarHeaderParams := make(map[string]string)
 	localVarQueryParams := _neturl.Values{}
 	localVarFormParams := _neturl.Values{}
-	if r.clearTaskInstance == nil {
-		return localVarReturnValue, nil, reportError("clearTaskInstance is required and must be specified")
+	if r.clearTaskInstances == nil {
+		return localVarReturnValue, nil, reportError("clearTaskInstances is required and must be specified")
 	}
 
 	// to determine the Content-Type header
@@ -1506,7 +1506,7 @@ func (a *DAGApiService) PostClearTaskInstancesExecute(r ApiPostClearTaskInstance
 		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
 	}
 	// body params
-	localVarPostBody = r.clearTaskInstance
+	localVarPostBody = r.clearTaskInstances
 	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
 	if err != nil {
 		return localVarReturnValue, nil, err
@@ -1573,7 +1573,7 @@ func (a *DAGApiService) PostClearTaskInstancesExecute(r ApiPostClearTaskInstance
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostSetTaskInstancesStateRequest struct {
+type DAGApiApiPostSetTaskInstancesStateRequest struct {
 	ctx _context.Context
 	ApiService *DAGApiService
 	dagId string
@@ -1581,12 +1581,12 @@ type ApiPostSetTaskInstancesStateRequest struct {
 }
 
 // Parameters of action
-func (r ApiPostSetTaskInstancesStateRequest) UpdateTaskInstancesState(updateTaskInstancesState UpdateTaskInstancesState) ApiPostSetTaskInstancesStateRequest {
+func (r DAGApiApiPostSetTaskInstancesStateRequest) UpdateTaskInstancesState(updateTaskInstancesState UpdateTaskInstancesState) DAGApiApiPostSetTaskInstancesStateRequest {
 	r.updateTaskInstancesState = &updateTaskInstancesState
 	return r
 }
 
-func (r ApiPostSetTaskInstancesStateRequest) Execute() (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
+func (r DAGApiApiPostSetTaskInstancesStateRequest) Execute() (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
 	return r.ApiService.PostSetTaskInstancesStateExecute(r)
 }
 
@@ -1598,10 +1598,10 @@ Updates the state for multiple task instances simultaneously.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiPostSetTaskInstancesStateRequest
+ @return DAGApiApiPostSetTaskInstancesStateRequest
 */
-func (a *DAGApiService) PostSetTaskInstancesState(ctx _context.Context, dagId string) ApiPostSetTaskInstancesStateRequest {
-	return ApiPostSetTaskInstancesStateRequest{
+func (a *DAGApiService) PostSetTaskInstancesState(ctx _context.Context, dagId string) DAGApiApiPostSetTaskInstancesStateRequest {
+	return DAGApiApiPostSetTaskInstancesStateRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -1610,7 +1610,7 @@ func (a *DAGApiService) PostSetTaskInstancesState(ctx _context.Context, dagId st
 
 // Execute executes the request
 //  @return TaskInstanceReferenceCollection
-func (a *DAGApiService) PostSetTaskInstancesStateExecute(r ApiPostSetTaskInstancesStateRequest) (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
+func (a *DAGApiService) PostSetTaskInstancesStateExecute(r DAGApiApiPostSetTaskInstancesStateRequest) (TaskInstanceReferenceCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
@@ -1719,3 +1719,341 @@ func (a *DAGApiService) PostSetTaskInstancesStateExecute(r ApiPostSetTaskInstanc
 
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
+
+type DAGApiApiSetMappedTaskInstanceNoteRequest struct {
+	ctx _context.Context
+	ApiService *DAGApiService
+	dagId string
+	dagRunId string
+	taskId string
+	mapIndex int32
+	setTaskInstanceNote *SetTaskInstanceNote
+}
+
+// Parameters of set Task Instance note.
+func (r DAGApiApiSetMappedTaskInstanceNoteRequest) SetTaskInstanceNote(setTaskInstanceNote SetTaskInstanceNote) DAGApiApiSetMappedTaskInstanceNoteRequest {
+	r.setTaskInstanceNote = &setTaskInstanceNote
+	return r
+}
+
+func (r DAGApiApiSetMappedTaskInstanceNoteRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
+	return r.ApiService.SetMappedTaskInstanceNoteExecute(r)
+}
+
+/*
+SetMappedTaskInstanceNote Update the TaskInstance note.
+
+Update the manual user note of a mapped Task Instance.
+
+*New in version 2.5.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @param taskId The task ID.
+ @param mapIndex The map index.
+ @return DAGApiApiSetMappedTaskInstanceNoteRequest
+*/
+func (a *DAGApiService) SetMappedTaskInstanceNote(ctx _context.Context, dagId string, dagRunId string, taskId string, mapIndex int32) DAGApiApiSetMappedTaskInstanceNoteRequest {
+	return DAGApiApiSetMappedTaskInstanceNoteRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+		taskId: taskId,
+		mapIndex: mapIndex,
+	}
+}
+
+// Execute executes the request
+//  @return TaskInstance
+func (a *DAGApiService) SetMappedTaskInstanceNoteExecute(r DAGApiApiSetMappedTaskInstanceNoteRequest) (TaskInstance, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodPatch
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  TaskInstance
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DAGApiService.SetMappedTaskInstanceNote")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/setNote"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"task_id"+"}", _neturl.PathEscape(parameterToString(r.taskId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"map_index"+"}", _neturl.PathEscape(parameterToString(r.mapIndex, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+	if r.setTaskInstanceNote == nil {
+		return localVarReturnValue, nil, reportError("setTaskInstanceNote is required and must be specified")
+	}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{"application/json"}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	// body params
+	localVarPostBody = r.setTaskInstanceNote
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 400 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type DAGApiApiSetTaskInstanceNoteRequest struct {
+	ctx _context.Context
+	ApiService *DAGApiService
+	dagId string
+	dagRunId string
+	taskId string
+	setTaskInstanceNote *SetTaskInstanceNote
+}
+
+// Parameters of set Task Instance note.
+func (r DAGApiApiSetTaskInstanceNoteRequest) SetTaskInstanceNote(setTaskInstanceNote SetTaskInstanceNote) DAGApiApiSetTaskInstanceNoteRequest {
+	r.setTaskInstanceNote = &setTaskInstanceNote
+	return r
+}
+
+func (r DAGApiApiSetTaskInstanceNoteRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
+	return r.ApiService.SetTaskInstanceNoteExecute(r)
+}
+
+/*
+SetTaskInstanceNote Update the TaskInstance note.
+
+Update the manual user note of a non-mapped Task Instance.
+
+*New in version 2.5.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @param taskId The task ID.
+ @return DAGApiApiSetTaskInstanceNoteRequest
+*/
+func (a *DAGApiService) SetTaskInstanceNote(ctx _context.Context, dagId string, dagRunId string, taskId string) DAGApiApiSetTaskInstanceNoteRequest {
+	return DAGApiApiSetTaskInstanceNoteRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+		taskId: taskId,
+	}
+}
+
+// Execute executes the request
+//  @return TaskInstance
+func (a *DAGApiService) SetTaskInstanceNoteExecute(r DAGApiApiSetTaskInstanceNoteRequest) (TaskInstance, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodPatch
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  TaskInstance
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DAGApiService.SetTaskInstanceNote")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/setNote"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"task_id"+"}", _neturl.PathEscape(parameterToString(r.taskId, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+	if r.setTaskInstanceNote == nil {
+		return localVarReturnValue, nil, reportError("setTaskInstanceNote is required and must be specified")
+	}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{"application/json"}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	// body params
+	localVarPostBody = r.setTaskInstanceNote
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 400 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/airflow/api_dag_run.go b/airflow/api_dag_run.go
index bc8684a..4369fdf 100644
--- a/airflow/api_dag_run.go
+++ b/airflow/api_dag_run.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -47,15 +47,177 @@ var (
 // DAGRunApiService DAGRunApi service
 type DAGRunApiService service
 
-type ApiDeleteDagRunRequest struct {
+type DAGRunApiApiClearDagRunRequest struct {
 	ctx _context.Context
 	ApiService *DAGRunApiService
 	dagId string
 	dagRunId string
+	clearDagRun *ClearDagRun
 }
 
+func (r DAGRunApiApiClearDagRunRequest) ClearDagRun(clearDagRun ClearDagRun) DAGRunApiApiClearDagRunRequest {
+	r.clearDagRun = &clearDagRun
+	return r
+}
+
+func (r DAGRunApiApiClearDagRunRequest) Execute() (DAGRun, *_nethttp.Response, error) {
+	return r.ApiService.ClearDagRunExecute(r)
+}
+
+/*
+ClearDagRun Clear a DAG run
+
+Clear a DAG run.
+
+*New in version 2.4.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @return DAGRunApiApiClearDagRunRequest
+*/
+func (a *DAGRunApiService) ClearDagRun(ctx _context.Context, dagId string, dagRunId string) DAGRunApiApiClearDagRunRequest {
+	return DAGRunApiApiClearDagRunRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+	}
+}
+
+// Execute executes the request
+//  @return DAGRun
+func (a *DAGRunApiService) ClearDagRunExecute(r DAGRunApiApiClearDagRunRequest) (DAGRun, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodPost
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  DAGRun
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DAGRunApiService.ClearDagRun")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/clear"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+	if r.clearDagRun == nil {
+		return localVarReturnValue, nil, reportError("clearDagRun is required and must be specified")
+	}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{"application/json"}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	// body params
+	localVarPostBody = r.clearDagRun
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 400 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type DAGRunApiApiDeleteDagRunRequest struct {
+	ctx _context.Context
+	ApiService *DAGRunApiService
+	dagId string
+	dagRunId string
+}
 
-func (r ApiDeleteDagRunRequest) Execute() (*_nethttp.Response, error) {
+
+func (r DAGRunApiApiDeleteDagRunRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeleteDagRunExecute(r)
 }
 
@@ -65,10 +227,10 @@ DeleteDagRun Delete a DAG run
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
- @return ApiDeleteDagRunRequest
+ @return DAGRunApiApiDeleteDagRunRequest
 */
-func (a *DAGRunApiService) DeleteDagRun(ctx _context.Context, dagId string, dagRunId string) ApiDeleteDagRunRequest {
-	return ApiDeleteDagRunRequest{
+func (a *DAGRunApiService) DeleteDagRun(ctx _context.Context, dagId string, dagRunId string) DAGRunApiApiDeleteDagRunRequest {
+	return DAGRunApiApiDeleteDagRunRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -77,7 +239,7 @@ func (a *DAGRunApiService) DeleteDagRun(ctx _context.Context, dagId string, dagR
 }
 
 // Execute executes the request
-func (a *DAGRunApiService) DeleteDagRunExecute(r ApiDeleteDagRunRequest) (*_nethttp.Response, error) {
+func (a *DAGRunApiService) DeleteDagRunExecute(r DAGRunApiApiDeleteDagRunRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -183,7 +345,7 @@ func (a *DAGRunApiService) DeleteDagRunExecute(r ApiDeleteDagRunRequest) (*_neth
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetDagRunRequest struct {
+type DAGRunApiApiGetDagRunRequest struct {
 	ctx _context.Context
 	ApiService *DAGRunApiService
 	dagId string
@@ -191,7 +353,7 @@ type ApiGetDagRunRequest struct {
 }
 
 
-func (r ApiGetDagRunRequest) Execute() (DAGRun, *_nethttp.Response, error) {
+func (r DAGRunApiApiGetDagRunRequest) Execute() (DAGRun, *_nethttp.Response, error) {
 	return r.ApiService.GetDagRunExecute(r)
 }
 
@@ -201,10 +363,10 @@ GetDagRun Get a DAG run
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
- @return ApiGetDagRunRequest
+ @return DAGRunApiApiGetDagRunRequest
 */
-func (a *DAGRunApiService) GetDagRun(ctx _context.Context, dagId string, dagRunId string) ApiGetDagRunRequest {
-	return ApiGetDagRunRequest{
+func (a *DAGRunApiService) GetDagRun(ctx _context.Context, dagId string, dagRunId string) DAGRunApiApiGetDagRunRequest {
+	return DAGRunApiApiGetDagRunRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -214,7 +376,7 @@ func (a *DAGRunApiService) GetDagRun(ctx _context.Context, dagId string, dagRunI
 
 // Execute executes the request
 //  @return DAGRun
-func (a *DAGRunApiService) GetDagRunExecute(r ApiGetDagRunRequest) (DAGRun, *_nethttp.Response, error) {
+func (a *DAGRunApiService) GetDagRunExecute(r DAGRunApiApiGetDagRunRequest) (DAGRun, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -320,7 +482,7 @@ func (a *DAGRunApiService) GetDagRunExecute(r ApiGetDagRunRequest) (DAGRun, *_ne
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetDagRunsRequest struct {
+type DAGRunApiApiGetDagRunsRequest struct {
 	ctx _context.Context
 	ApiService *DAGRunApiService
 	dagId string
@@ -337,57 +499,57 @@ type ApiGetDagRunsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetDagRunsRequest) Limit(limit int32) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) Limit(limit int32) DAGRunApiApiGetDagRunsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetDagRunsRequest) Offset(offset int32) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) Offset(offset int32) DAGRunApiApiGetDagRunsRequest {
 	r.offset = &offset
 	return r
 }
 // Returns objects greater or equal to the specified date.  This can be combined with execution_date_lte parameter to receive only the selected period. 
-func (r ApiGetDagRunsRequest) ExecutionDateGte(executionDateGte time.Time) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) ExecutionDateGte(executionDateGte time.Time) DAGRunApiApiGetDagRunsRequest {
 	r.executionDateGte = &executionDateGte
 	return r
 }
 // Returns objects less than or equal to the specified date.  This can be combined with execution_date_gte parameter to receive only the selected period. 
-func (r ApiGetDagRunsRequest) ExecutionDateLte(executionDateLte time.Time) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) ExecutionDateLte(executionDateLte time.Time) DAGRunApiApiGetDagRunsRequest {
 	r.executionDateLte = &executionDateLte
 	return r
 }
 // Returns objects greater or equal the specified date.  This can be combined with start_date_lte parameter to receive only the selected period. 
-func (r ApiGetDagRunsRequest) StartDateGte(startDateGte time.Time) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) StartDateGte(startDateGte time.Time) DAGRunApiApiGetDagRunsRequest {
 	r.startDateGte = &startDateGte
 	return r
 }
 // Returns objects less or equal the specified date.  This can be combined with start_date_gte parameter to receive only the selected period. 
-func (r ApiGetDagRunsRequest) StartDateLte(startDateLte time.Time) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) StartDateLte(startDateLte time.Time) DAGRunApiApiGetDagRunsRequest {
 	r.startDateLte = &startDateLte
 	return r
 }
 // Returns objects greater or equal the specified date.  This can be combined with start_date_lte parameter to receive only the selected period. 
-func (r ApiGetDagRunsRequest) EndDateGte(endDateGte time.Time) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) EndDateGte(endDateGte time.Time) DAGRunApiApiGetDagRunsRequest {
 	r.endDateGte = &endDateGte
 	return r
 }
 // Returns objects less than or equal to the specified date.  This can be combined with start_date_gte parameter to receive only the selected period. 
-func (r ApiGetDagRunsRequest) EndDateLte(endDateLte time.Time) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) EndDateLte(endDateLte time.Time) DAGRunApiApiGetDagRunsRequest {
 	r.endDateLte = &endDateLte
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetDagRunsRequest) State(state []string) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) State(state []string) DAGRunApiApiGetDagRunsRequest {
 	r.state = &state
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetDagRunsRequest) OrderBy(orderBy string) ApiGetDagRunsRequest {
+func (r DAGRunApiApiGetDagRunsRequest) OrderBy(orderBy string) DAGRunApiApiGetDagRunsRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetDagRunsRequest) Execute() (DAGRunCollection, *_nethttp.Response, error) {
+func (r DAGRunApiApiGetDagRunsRequest) Execute() (DAGRunCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetDagRunsExecute(r)
 }
 
@@ -399,10 +561,10 @@ This endpoint allows specifying `~` as the dag_id to retrieve DAG runs for all D
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiGetDagRunsRequest
+ @return DAGRunApiApiGetDagRunsRequest
 */
-func (a *DAGRunApiService) GetDagRuns(ctx _context.Context, dagId string) ApiGetDagRunsRequest {
-	return ApiGetDagRunsRequest{
+func (a *DAGRunApiService) GetDagRuns(ctx _context.Context, dagId string) DAGRunApiApiGetDagRunsRequest {
+	return DAGRunApiApiGetDagRunsRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -411,7 +573,7 @@ func (a *DAGRunApiService) GetDagRuns(ctx _context.Context, dagId string) ApiGet
 
 // Execute executes the request
 //  @return DAGRunCollection
-func (a *DAGRunApiService) GetDagRunsExecute(r ApiGetDagRunsRequest) (DAGRunCollection, *_nethttp.Response, error) {
+func (a *DAGRunApiService) GetDagRunsExecute(r DAGRunApiApiGetDagRunsRequest) (DAGRunCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -534,18 +696,18 @@ func (a *DAGRunApiService) GetDagRunsExecute(r ApiGetDagRunsRequest) (DAGRunColl
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetDagRunsBatchRequest struct {
+type DAGRunApiApiGetDagRunsBatchRequest struct {
 	ctx _context.Context
 	ApiService *DAGRunApiService
 	listDagRunsForm *ListDagRunsForm
 }
 
-func (r ApiGetDagRunsBatchRequest) ListDagRunsForm(listDagRunsForm ListDagRunsForm) ApiGetDagRunsBatchRequest {
+func (r DAGRunApiApiGetDagRunsBatchRequest) ListDagRunsForm(listDagRunsForm ListDagRunsForm) DAGRunApiApiGetDagRunsBatchRequest {
 	r.listDagRunsForm = &listDagRunsForm
 	return r
 }
 
-func (r ApiGetDagRunsBatchRequest) Execute() (DAGRunCollection, *_nethttp.Response, error) {
+func (r DAGRunApiApiGetDagRunsBatchRequest) Execute() (DAGRunCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetDagRunsBatchExecute(r)
 }
 
@@ -556,10 +718,10 @@ This endpoint is a POST to allow filtering across a large number of DAG IDs, whe
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetDagRunsBatchRequest
+ @return DAGRunApiApiGetDagRunsBatchRequest
 */
-func (a *DAGRunApiService) GetDagRunsBatch(ctx _context.Context) ApiGetDagRunsBatchRequest {
-	return ApiGetDagRunsBatchRequest{
+func (a *DAGRunApiService) GetDagRunsBatch(ctx _context.Context) DAGRunApiApiGetDagRunsBatchRequest {
+	return DAGRunApiApiGetDagRunsBatchRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -567,7 +729,7 @@ func (a *DAGRunApiService) GetDagRunsBatch(ctx _context.Context) ApiGetDagRunsBa
 
 // Execute executes the request
 //  @return DAGRunCollection
-func (a *DAGRunApiService) GetDagRunsBatchExecute(r ApiGetDagRunsBatchRequest) (DAGRunCollection, *_nethttp.Response, error) {
+func (a *DAGRunApiService) GetDagRunsBatchExecute(r DAGRunApiApiGetDagRunsBatchRequest) (DAGRunCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
@@ -676,19 +838,161 @@ func (a *DAGRunApiService) GetDagRunsBatchExecute(r ApiGetDagRunsBatchRequest) (
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostDagRunRequest struct {
+type DAGRunApiApiGetUpstreamDatasetEventsRequest struct {
+	ctx _context.Context
+	ApiService *DAGRunApiService
+	dagId string
+	dagRunId string
+}
+
+
+func (r DAGRunApiApiGetUpstreamDatasetEventsRequest) Execute() (DatasetEventCollection, *_nethttp.Response, error) {
+	return r.ApiService.GetUpstreamDatasetEventsExecute(r)
+}
+
+/*
+GetUpstreamDatasetEvents Get dataset events for a DAG run
+
+Get datasets for a dag run.
+
+*New in version 2.4.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @return DAGRunApiApiGetUpstreamDatasetEventsRequest
+*/
+func (a *DAGRunApiService) GetUpstreamDatasetEvents(ctx _context.Context, dagId string, dagRunId string) DAGRunApiApiGetUpstreamDatasetEventsRequest {
+	return DAGRunApiApiGetUpstreamDatasetEventsRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+	}
+}
+
+// Execute executes the request
+//  @return DatasetEventCollection
+func (a *DAGRunApiService) GetUpstreamDatasetEventsExecute(r DAGRunApiApiGetUpstreamDatasetEventsRequest) (DatasetEventCollection, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodGet
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  DatasetEventCollection
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DAGRunApiService.GetUpstreamDatasetEvents")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type DAGRunApiApiPostDagRunRequest struct {
 	ctx _context.Context
 	ApiService *DAGRunApiService
 	dagId string
 	dAGRun *DAGRun
 }
 
-func (r ApiPostDagRunRequest) DAGRun(dAGRun DAGRun) ApiPostDagRunRequest {
+func (r DAGRunApiApiPostDagRunRequest) DAGRun(dAGRun DAGRun) DAGRunApiApiPostDagRunRequest {
 	r.dAGRun = &dAGRun
 	return r
 }
 
-func (r ApiPostDagRunRequest) Execute() (DAGRun, *_nethttp.Response, error) {
+func (r DAGRunApiApiPostDagRunRequest) Execute() (DAGRun, *_nethttp.Response, error) {
 	return r.ApiService.PostDagRunExecute(r)
 }
 
@@ -697,10 +1001,10 @@ PostDagRun Trigger a new DAG run
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
- @return ApiPostDagRunRequest
+ @return DAGRunApiApiPostDagRunRequest
 */
-func (a *DAGRunApiService) PostDagRun(ctx _context.Context, dagId string) ApiPostDagRunRequest {
-	return ApiPostDagRunRequest{
+func (a *DAGRunApiService) PostDagRun(ctx _context.Context, dagId string) DAGRunApiApiPostDagRunRequest {
+	return DAGRunApiApiPostDagRunRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -709,7 +1013,7 @@ func (a *DAGRunApiService) PostDagRun(ctx _context.Context, dagId string) ApiPos
 
 // Execute executes the request
 //  @return DAGRun
-func (a *DAGRunApiService) PostDagRunExecute(r ApiPostDagRunRequest) (DAGRun, *_nethttp.Response, error) {
+func (a *DAGRunApiService) PostDagRunExecute(r DAGRunApiApiPostDagRunRequest) (DAGRun, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
@@ -839,7 +1143,170 @@ func (a *DAGRunApiService) PostDagRunExecute(r ApiPostDagRunRequest) (DAGRun, *_
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiUpdateDagRunStateRequest struct {
+type DAGRunApiApiSetDagRunNoteRequest struct {
+	ctx _context.Context
+	ApiService *DAGRunApiService
+	dagId string
+	dagRunId string
+	setDagRunNote *SetDagRunNote
+}
+
+// Parameters of set DagRun note.
+func (r DAGRunApiApiSetDagRunNoteRequest) SetDagRunNote(setDagRunNote SetDagRunNote) DAGRunApiApiSetDagRunNoteRequest {
+	r.setDagRunNote = &setDagRunNote
+	return r
+}
+
+func (r DAGRunApiApiSetDagRunNoteRequest) Execute() (DAGRun, *_nethttp.Response, error) {
+	return r.ApiService.SetDagRunNoteExecute(r)
+}
+
+/*
+SetDagRunNote Update the DagRun note.
+
+Update the manual user note of a DagRun.
+
+*New in version 2.5.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @return DAGRunApiApiSetDagRunNoteRequest
+*/
+func (a *DAGRunApiService) SetDagRunNote(ctx _context.Context, dagId string, dagRunId string) DAGRunApiApiSetDagRunNoteRequest {
+	return DAGRunApiApiSetDagRunNoteRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+	}
+}
+
+// Execute executes the request
+//  @return DAGRun
+func (a *DAGRunApiService) SetDagRunNoteExecute(r DAGRunApiApiSetDagRunNoteRequest) (DAGRun, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodPatch
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  DAGRun
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DAGRunApiService.SetDagRunNote")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/setNote"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+	if r.setDagRunNote == nil {
+		return localVarReturnValue, nil, reportError("setDagRunNote is required and must be specified")
+	}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{"application/json"}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	// body params
+	localVarPostBody = r.setDagRunNote
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 400 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type DAGRunApiApiUpdateDagRunStateRequest struct {
 	ctx _context.Context
 	ApiService *DAGRunApiService
 	dagId string
@@ -847,12 +1314,12 @@ type ApiUpdateDagRunStateRequest struct {
 	updateDagRunState *UpdateDagRunState
 }
 
-func (r ApiUpdateDagRunStateRequest) UpdateDagRunState(updateDagRunState UpdateDagRunState) ApiUpdateDagRunStateRequest {
+func (r DAGRunApiApiUpdateDagRunStateRequest) UpdateDagRunState(updateDagRunState UpdateDagRunState) DAGRunApiApiUpdateDagRunStateRequest {
 	r.updateDagRunState = &updateDagRunState
 	return r
 }
 
-func (r ApiUpdateDagRunStateRequest) Execute() (DAGRun, *_nethttp.Response, error) {
+func (r DAGRunApiApiUpdateDagRunStateRequest) Execute() (DAGRun, *_nethttp.Response, error) {
 	return r.ApiService.UpdateDagRunStateExecute(r)
 }
 
@@ -867,10 +1334,10 @@ Modify a DAG run.
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
- @return ApiUpdateDagRunStateRequest
+ @return DAGRunApiApiUpdateDagRunStateRequest
 */
-func (a *DAGRunApiService) UpdateDagRunState(ctx _context.Context, dagId string, dagRunId string) ApiUpdateDagRunStateRequest {
-	return ApiUpdateDagRunStateRequest{
+func (a *DAGRunApiService) UpdateDagRunState(ctx _context.Context, dagId string, dagRunId string) DAGRunApiApiUpdateDagRunStateRequest {
+	return DAGRunApiApiUpdateDagRunStateRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -880,7 +1347,7 @@ func (a *DAGRunApiService) UpdateDagRunState(ctx _context.Context, dagId string,
 
 // Execute executes the request
 //  @return DAGRun
-func (a *DAGRunApiService) UpdateDagRunStateExecute(r ApiUpdateDagRunStateRequest) (DAGRun, *_nethttp.Response, error) {
+func (a *DAGRunApiService) UpdateDagRunStateExecute(r DAGRunApiApiUpdateDagRunStateRequest) (DAGRun, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
diff --git a/airflow/api_plugin.go b/airflow/api_dag_warning.go
similarity index 85%
copy from airflow/api_plugin.go
copy to airflow/api_dag_warning.go
index 19a467a..c36d9a3 100644
--- a/airflow/api_plugin.go
+++ b/airflow/api_dag_warning.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -41,78 +41,100 @@ var (
 	_ _context.Context
 )
 
-// PluginApiService PluginApi service
-type PluginApiService service
+// DagWarningApiService DagWarningApi service
+type DagWarningApiService service
 
-type ApiGetPluginsRequest struct {
+type DagWarningApiApiGetDagWarningsRequest struct {
 	ctx _context.Context
-	ApiService *PluginApiService
+	ApiService *DagWarningApiService
+	dagId *string
+	warningType *string
 	limit *int32
 	offset *int32
+	orderBy *string
 }
 
+// If set, only return DAG warnings with this dag_id.
+func (r DagWarningApiApiGetDagWarningsRequest) DagId(dagId string) DagWarningApiApiGetDagWarningsRequest {
+	r.dagId = &dagId
+	return r
+}
+// If set, only return DAG warnings with this type.
+func (r DagWarningApiApiGetDagWarningsRequest) WarningType(warningType string) DagWarningApiApiGetDagWarningsRequest {
+	r.warningType = &warningType
+	return r
+}
 // The numbers of items to return.
-func (r ApiGetPluginsRequest) Limit(limit int32) ApiGetPluginsRequest {
+func (r DagWarningApiApiGetDagWarningsRequest) Limit(limit int32) DagWarningApiApiGetDagWarningsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetPluginsRequest) Offset(offset int32) ApiGetPluginsRequest {
+func (r DagWarningApiApiGetDagWarningsRequest) Offset(offset int32) DagWarningApiApiGetDagWarningsRequest {
 	r.offset = &offset
 	return r
 }
+// The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
+func (r DagWarningApiApiGetDagWarningsRequest) OrderBy(orderBy string) DagWarningApiApiGetDagWarningsRequest {
+	r.orderBy = &orderBy
+	return r
+}
 
-func (r ApiGetPluginsRequest) Execute() (PluginCollection, *_nethttp.Response, error) {
-	return r.ApiService.GetPluginsExecute(r)
+func (r DagWarningApiApiGetDagWarningsRequest) Execute() (DagWarningCollection, *_nethttp.Response, error) {
+	return r.ApiService.GetDagWarningsExecute(r)
 }
 
 /*
-GetPlugins Get a list of loaded plugins
-
-Get a list of loaded plugins.
-
-*New in version 2.1.0*
-
+GetDagWarnings List dag warnings
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetPluginsRequest
+ @return DagWarningApiApiGetDagWarningsRequest
 */
-func (a *PluginApiService) GetPlugins(ctx _context.Context) ApiGetPluginsRequest {
-	return ApiGetPluginsRequest{
+func (a *DagWarningApiService) GetDagWarnings(ctx _context.Context) DagWarningApiApiGetDagWarningsRequest {
+	return DagWarningApiApiGetDagWarningsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
 }
 
 // Execute executes the request
-//  @return PluginCollection
-func (a *PluginApiService) GetPluginsExecute(r ApiGetPluginsRequest) (PluginCollection, *_nethttp.Response, error) {
+//  @return DagWarningCollection
+func (a *DagWarningApiService) GetDagWarningsExecute(r DagWarningApiApiGetDagWarningsRequest) (DagWarningCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
 		localVarFormFileName string
 		localVarFileName     string
 		localVarFileBytes    []byte
-		localVarReturnValue  PluginCollection
+		localVarReturnValue  DagWarningCollection
 	)
 
-	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "PluginApiService.GetPlugins")
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DagWarningApiService.GetDagWarnings")
 	if err != nil {
 		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
 	}
 
-	localVarPath := localBasePath + "/plugins"
+	localVarPath := localBasePath + "/dagWarnings"
 
 	localVarHeaderParams := make(map[string]string)
 	localVarQueryParams := _neturl.Values{}
 	localVarFormParams := _neturl.Values{}
 
+	if r.dagId != nil {
+		localVarQueryParams.Add("dag_id", parameterToString(*r.dagId, ""))
+	}
+	if r.warningType != nil {
+		localVarQueryParams.Add("warning_type", parameterToString(*r.warningType, ""))
+	}
 	if r.limit != nil {
 		localVarQueryParams.Add("limit", parameterToString(*r.limit, ""))
 	}
 	if r.offset != nil {
 		localVarQueryParams.Add("offset", parameterToString(*r.offset, ""))
 	}
+	if r.orderBy != nil {
+		localVarQueryParams.Add("order_by", parameterToString(*r.orderBy, ""))
+	}
 	// to determine the Content-Type header
 	localVarHTTPContentTypes := []string{}
 
@@ -170,16 +192,6 @@ func (a *PluginApiService) GetPluginsExecute(r ApiGetPluginsRequest) (PluginColl
 				return localVarReturnValue, localVarHTTPResponse, newErr
 			}
 			newErr.model = v
-			return localVarReturnValue, localVarHTTPResponse, newErr
-		}
-		if localVarHTTPResponse.StatusCode == 404 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarReturnValue, localVarHTTPResponse, newErr
-			}
-			newErr.model = v
 		}
 		return localVarReturnValue, localVarHTTPResponse, newErr
 	}
diff --git a/airflow/api_role.go b/airflow/api_dataset.go
similarity index 73%
copy from airflow/api_role.go
copy to airflow/api_dataset.go
index e597ca7..29631a5 100644
--- a/airflow/api_role.go
+++ b/airflow/api_dataset.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -42,196 +42,56 @@ var (
 	_ _context.Context
 )
 
-// RoleApiService RoleApi service
-type RoleApiService service
+// DatasetApiService DatasetApi service
+type DatasetApiService service
 
-type ApiDeleteRoleRequest struct {
+type DatasetApiApiGetDatasetRequest struct {
 	ctx _context.Context
-	ApiService *RoleApiService
-	roleName string
+	ApiService *DatasetApiService
+	uri string
 }
 
 
-func (r ApiDeleteRoleRequest) Execute() (*_nethttp.Response, error) {
-	return r.ApiService.DeleteRoleExecute(r)
+func (r DatasetApiApiGetDatasetRequest) Execute() (Dataset, *_nethttp.Response, error) {
+	return r.ApiService.GetDatasetExecute(r)
 }
 
 /*
-DeleteRole Delete a role
-
-Delete a role.
-
-*New in version 2.1.0*
+GetDataset Get a dataset
 
+Get a dataset by uri.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param roleName The role name
- @return ApiDeleteRoleRequest
+ @param uri The encoded Dataset URI
+ @return DatasetApiApiGetDatasetRequest
 */
-func (a *RoleApiService) DeleteRole(ctx _context.Context, roleName string) ApiDeleteRoleRequest {
-	return ApiDeleteRoleRequest{
+func (a *DatasetApiService) GetDataset(ctx _context.Context, uri string) DatasetApiApiGetDatasetRequest {
+	return DatasetApiApiGetDatasetRequest{
 		ApiService: a,
 		ctx: ctx,
-		roleName: roleName,
+		uri: uri,
 	}
 }
 
 // Execute executes the request
-func (a *RoleApiService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*_nethttp.Response, error) {
-	var (
-		localVarHTTPMethod   = _nethttp.MethodDelete
-		localVarPostBody     interface{}
-		localVarFormFileName string
-		localVarFileName     string
-		localVarFileBytes    []byte
-	)
-
-	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleApiService.DeleteRole")
-	if err != nil {
-		return nil, GenericOpenAPIError{error: err.Error()}
-	}
-
-	localVarPath := localBasePath + "/roles/{role_name}"
-	localVarPath = strings.Replace(localVarPath, "{"+"role_name"+"}", _neturl.PathEscape(parameterToString(r.roleName, "")), -1)
-
-	localVarHeaderParams := make(map[string]string)
-	localVarQueryParams := _neturl.Values{}
-	localVarFormParams := _neturl.Values{}
-
-	// to determine the Content-Type header
-	localVarHTTPContentTypes := []string{}
-
-	// set Content-Type header
-	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
-	if localVarHTTPContentType != "" {
-		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
-	}
-
-	// to determine the Accept header
-	localVarHTTPHeaderAccepts := []string{"application/json"}
-
-	// set Accept header
-	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
-	if localVarHTTPHeaderAccept != "" {
-		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
-	}
-	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
-	if err != nil {
-		return nil, err
-	}
-
-	localVarHTTPResponse, err := a.client.callAPI(req)
-	if err != nil || localVarHTTPResponse == nil {
-		return localVarHTTPResponse, err
-	}
-
-	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
-	localVarHTTPResponse.Body.Close()
-	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
-	if err != nil {
-		return localVarHTTPResponse, err
-	}
-
-	if localVarHTTPResponse.StatusCode >= 300 {
-		newErr := GenericOpenAPIError{
-			body:  localVarBody,
-			error: localVarHTTPResponse.Status,
-		}
-		if localVarHTTPResponse.StatusCode == 400 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarHTTPResponse, newErr
-			}
-			newErr.model = v
-			return localVarHTTPResponse, newErr
-		}
-		if localVarHTTPResponse.StatusCode == 401 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarHTTPResponse, newErr
-			}
-			newErr.model = v
-			return localVarHTTPResponse, newErr
-		}
-		if localVarHTTPResponse.StatusCode == 403 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarHTTPResponse, newErr
-			}
-			newErr.model = v
-			return localVarHTTPResponse, newErr
-		}
-		if localVarHTTPResponse.StatusCode == 404 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarHTTPResponse, newErr
-			}
-			newErr.model = v
-		}
-		return localVarHTTPResponse, newErr
-	}
-
-	return localVarHTTPResponse, nil
-}
-
-type ApiGetRoleRequest struct {
-	ctx _context.Context
-	ApiService *RoleApiService
-	roleName string
-}
-
-
-func (r ApiGetRoleRequest) Execute() (Role, *_nethttp.Response, error) {
-	return r.ApiService.GetRoleExecute(r)
-}
-
-/*
-GetRole Get a role
-
-Get a role.
-
-*New in version 2.1.0*
-
-
- @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param roleName The role name
- @return ApiGetRoleRequest
-*/
-func (a *RoleApiService) GetRole(ctx _context.Context, roleName string) ApiGetRoleRequest {
-	return ApiGetRoleRequest{
-		ApiService: a,
-		ctx: ctx,
-		roleName: roleName,
-	}
-}
-
-// Execute executes the request
-//  @return Role
-func (a *RoleApiService) GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Response, error) {
+//  @return Dataset
+func (a *DatasetApiService) GetDatasetExecute(r DatasetApiApiGetDatasetRequest) (Dataset, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
 		localVarFormFileName string
 		localVarFileName     string
 		localVarFileBytes    []byte
-		localVarReturnValue  Role
+		localVarReturnValue  Dataset
 	)
 
-	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleApiService.GetRole")
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DatasetApiService.GetDataset")
 	if err != nil {
 		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
 	}
 
-	localVarPath := localBasePath + "/roles/{role_name}"
-	localVarPath = strings.Replace(localVarPath, "{"+"role_name"+"}", _neturl.PathEscape(parameterToString(r.roleName, "")), -1)
+	localVarPath := localBasePath + "/datasets/{uri}"
+	localVarPath = strings.Replace(localVarPath, "{"+"uri"+"}", _neturl.PathEscape(parameterToString(r.uri, "")), -1)
 
 	localVarHeaderParams := make(map[string]string)
 	localVarQueryParams := _neturl.Values{}
@@ -320,70 +180,97 @@ func (a *RoleApiService) GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Re
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetRolesRequest struct {
+type DatasetApiApiGetDatasetEventsRequest struct {
 	ctx _context.Context
-	ApiService *RoleApiService
+	ApiService *DatasetApiService
 	limit *int32
 	offset *int32
 	orderBy *string
+	datasetId *int32
+	sourceDagId *string
+	sourceTaskId *string
+	sourceRunId *string
+	sourceMapIndex *int32
 }
 
 // The numbers of items to return.
-func (r ApiGetRolesRequest) Limit(limit int32) ApiGetRolesRequest {
+func (r DatasetApiApiGetDatasetEventsRequest) Limit(limit int32) DatasetApiApiGetDatasetEventsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetRolesRequest) Offset(offset int32) ApiGetRolesRequest {
+func (r DatasetApiApiGetDatasetEventsRequest) Offset(offset int32) DatasetApiApiGetDatasetEventsRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetRolesRequest) OrderBy(orderBy string) ApiGetRolesRequest {
+func (r DatasetApiApiGetDatasetEventsRequest) OrderBy(orderBy string) DatasetApiApiGetDatasetEventsRequest {
 	r.orderBy = &orderBy
 	return r
 }
+// The Dataset ID that updated the dataset.
+func (r DatasetApiApiGetDatasetEventsRequest) DatasetId(datasetId int32) DatasetApiApiGetDatasetEventsRequest {
+	r.datasetId = &datasetId
+	return r
+}
+// The DAG ID that updated the dataset.
+func (r DatasetApiApiGetDatasetEventsRequest) SourceDagId(sourceDagId string) DatasetApiApiGetDatasetEventsRequest {
+	r.sourceDagId = &sourceDagId
+	return r
+}
+// The task ID that updated the dataset.
+func (r DatasetApiApiGetDatasetEventsRequest) SourceTaskId(sourceTaskId string) DatasetApiApiGetDatasetEventsRequest {
+	r.sourceTaskId = &sourceTaskId
+	return r
+}
+// The DAG run ID that updated the dataset.
+func (r DatasetApiApiGetDatasetEventsRequest) SourceRunId(sourceRunId string) DatasetApiApiGetDatasetEventsRequest {
+	r.sourceRunId = &sourceRunId
+	return r
+}
+// The map index that updated the dataset.
+func (r DatasetApiApiGetDatasetEventsRequest) SourceMapIndex(sourceMapIndex int32) DatasetApiApiGetDatasetEventsRequest {
+	r.sourceMapIndex = &sourceMapIndex
+	return r
+}
 
-func (r ApiGetRolesRequest) Execute() (RoleCollection, *_nethttp.Response, error) {
-	return r.ApiService.GetRolesExecute(r)
+func (r DatasetApiApiGetDatasetEventsRequest) Execute() (DatasetEventCollection, *_nethttp.Response, error) {
+	return r.ApiService.GetDatasetEventsExecute(r)
 }
 
 /*
-GetRoles List roles
-
-Get a list of roles.
-
-*New in version 2.1.0*
+GetDatasetEvents Get dataset events
 
+Get dataset events
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetRolesRequest
+ @return DatasetApiApiGetDatasetEventsRequest
 */
-func (a *RoleApiService) GetRoles(ctx _context.Context) ApiGetRolesRequest {
-	return ApiGetRolesRequest{
+func (a *DatasetApiService) GetDatasetEvents(ctx _context.Context) DatasetApiApiGetDatasetEventsRequest {
+	return DatasetApiApiGetDatasetEventsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
 }
 
 // Execute executes the request
-//  @return RoleCollection
-func (a *RoleApiService) GetRolesExecute(r ApiGetRolesRequest) (RoleCollection, *_nethttp.Response, error) {
+//  @return DatasetEventCollection
+func (a *DatasetApiService) GetDatasetEventsExecute(r DatasetApiApiGetDatasetEventsRequest) (DatasetEventCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
 		localVarFormFileName string
 		localVarFileName     string
 		localVarFileBytes    []byte
-		localVarReturnValue  RoleCollection
+		localVarReturnValue  DatasetEventCollection
 	)
 
-	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleApiService.GetRoles")
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DatasetApiService.GetDatasetEvents")
 	if err != nil {
 		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
 	}
 
-	localVarPath := localBasePath + "/roles"
+	localVarPath := localBasePath + "/datasets/events"
 
 	localVarHeaderParams := make(map[string]string)
 	localVarQueryParams := _neturl.Values{}
@@ -398,6 +285,21 @@ func (a *RoleApiService) GetRolesExecute(r ApiGetRolesRequest) (RoleCollection,
 	if r.orderBy != nil {
 		localVarQueryParams.Add("order_by", parameterToString(*r.orderBy, ""))
 	}
+	if r.datasetId != nil {
+		localVarQueryParams.Add("dataset_id", parameterToString(*r.datasetId, ""))
+	}
+	if r.sourceDagId != nil {
+		localVarQueryParams.Add("source_dag_id", parameterToString(*r.sourceDagId, ""))
+	}
+	if r.sourceTaskId != nil {
+		localVarQueryParams.Add("source_task_id", parameterToString(*r.sourceTaskId, ""))
+	}
+	if r.sourceRunId != nil {
+		localVarQueryParams.Add("source_run_id", parameterToString(*r.sourceRunId, ""))
+	}
+	if r.sourceMapIndex != nil {
+		localVarQueryParams.Add("source_map_index", parameterToString(*r.sourceMapIndex, ""))
+	}
 	// to determine the Content-Type header
 	localVarHTTPContentTypes := []string{}
 
@@ -455,6 +357,16 @@ func (a *RoleApiService) GetRolesExecute(r ApiGetRolesRequest) (RoleCollection,
 				return localVarReturnValue, localVarHTTPResponse, newErr
 			}
 			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
 		}
 		return localVarReturnValue, localVarHTTPResponse, newErr
 	}
@@ -471,80 +383,90 @@ func (a *RoleApiService) GetRolesExecute(r ApiGetRolesRequest) (RoleCollection,
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchRoleRequest struct {
+type DatasetApiApiGetDatasetsRequest struct {
 	ctx _context.Context
-	ApiService *RoleApiService
-	roleName string
-	role *Role
-	updateMask *[]string
+	ApiService *DatasetApiService
+	limit *int32
+	offset *int32
+	orderBy *string
+	uriPattern *string
 }
 
-func (r ApiPatchRoleRequest) Role(role Role) ApiPatchRoleRequest {
-	r.role = &role
+// The numbers of items to return.
+func (r DatasetApiApiGetDatasetsRequest) Limit(limit int32) DatasetApiApiGetDatasetsRequest {
+	r.limit = &limit
 	return r
 }
-// The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchRoleRequest) UpdateMask(updateMask []string) ApiPatchRoleRequest {
-	r.updateMask = &updateMask
+// The number of items to skip before starting to collect the result set.
+func (r DatasetApiApiGetDatasetsRequest) Offset(offset int32) DatasetApiApiGetDatasetsRequest {
+	r.offset = &offset
+	return r
+}
+// The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
+func (r DatasetApiApiGetDatasetsRequest) OrderBy(orderBy string) DatasetApiApiGetDatasetsRequest {
+	r.orderBy = &orderBy
+	return r
+}
+// If set, only return datasets with uris matching this pattern. 
+func (r DatasetApiApiGetDatasetsRequest) UriPattern(uriPattern string) DatasetApiApiGetDatasetsRequest {
+	r.uriPattern = &uriPattern
 	return r
 }
 
-func (r ApiPatchRoleRequest) Execute() (Role, *_nethttp.Response, error) {
-	return r.ApiService.PatchRoleExecute(r)
+func (r DatasetApiApiGetDatasetsRequest) Execute() (DatasetCollection, *_nethttp.Response, error) {
+	return r.ApiService.GetDatasetsExecute(r)
 }
 
 /*
-PatchRole Update a role
-
-Update a role.
-
-*New in version 2.1.0*
-
+GetDatasets List datasets
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param roleName The role name
- @return ApiPatchRoleRequest
+ @return DatasetApiApiGetDatasetsRequest
 */
-func (a *RoleApiService) PatchRole(ctx _context.Context, roleName string) ApiPatchRoleRequest {
-	return ApiPatchRoleRequest{
+func (a *DatasetApiService) GetDatasets(ctx _context.Context) DatasetApiApiGetDatasetsRequest {
+	return DatasetApiApiGetDatasetsRequest{
 		ApiService: a,
 		ctx: ctx,
-		roleName: roleName,
 	}
 }
 
 // Execute executes the request
-//  @return Role
-func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethttp.Response, error) {
+//  @return DatasetCollection
+func (a *DatasetApiService) GetDatasetsExecute(r DatasetApiApiGetDatasetsRequest) (DatasetCollection, *_nethttp.Response, error) {
 	var (
-		localVarHTTPMethod   = _nethttp.MethodPatch
+		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
 		localVarFormFileName string
 		localVarFileName     string
 		localVarFileBytes    []byte
-		localVarReturnValue  Role
+		localVarReturnValue  DatasetCollection
 	)
 
-	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleApiService.PatchRole")
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DatasetApiService.GetDatasets")
 	if err != nil {
 		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
 	}
 
-	localVarPath := localBasePath + "/roles/{role_name}"
-	localVarPath = strings.Replace(localVarPath, "{"+"role_name"+"}", _neturl.PathEscape(parameterToString(r.roleName, "")), -1)
+	localVarPath := localBasePath + "/datasets"
 
 	localVarHeaderParams := make(map[string]string)
 	localVarQueryParams := _neturl.Values{}
 	localVarFormParams := _neturl.Values{}
-	if r.role == nil {
-		return localVarReturnValue, nil, reportError("role is required and must be specified")
-	}
 
-	if r.updateMask != nil {
-		localVarQueryParams.Add("update_mask", parameterToString(*r.updateMask, "csv"))
+	if r.limit != nil {
+		localVarQueryParams.Add("limit", parameterToString(*r.limit, ""))
+	}
+	if r.offset != nil {
+		localVarQueryParams.Add("offset", parameterToString(*r.offset, ""))
+	}
+	if r.orderBy != nil {
+		localVarQueryParams.Add("order_by", parameterToString(*r.orderBy, ""))
+	}
+	if r.uriPattern != nil {
+		localVarQueryParams.Add("uri_pattern", parameterToString(*r.uriPattern, ""))
 	}
 	// to determine the Content-Type header
-	localVarHTTPContentTypes := []string{"application/json"}
+	localVarHTTPContentTypes := []string{}
 
 	// set Content-Type header
 	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -560,8 +482,6 @@ func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethtt
 	if localVarHTTPHeaderAccept != "" {
 		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
 	}
-	// body params
-	localVarPostBody = r.role
 	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
 	if err != nil {
 		return localVarReturnValue, nil, err
@@ -584,16 +504,6 @@ func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethtt
 			body:  localVarBody,
 			error: localVarHTTPResponse.Status,
 		}
-		if localVarHTTPResponse.StatusCode == 400 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarReturnValue, localVarHTTPResponse, newErr
-			}
-			newErr.model = v
-			return localVarReturnValue, localVarHTTPResponse, newErr
-		}
 		if localVarHTTPResponse.StatusCode == 401 {
 			var v Error
 			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
@@ -612,16 +522,6 @@ func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethtt
 				return localVarReturnValue, localVarHTTPResponse, newErr
 			}
 			newErr.model = v
-			return localVarReturnValue, localVarHTTPResponse, newErr
-		}
-		if localVarHTTPResponse.StatusCode == 404 {
-			var v Error
-			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
-			if err != nil {
-				newErr.error = err.Error()
-				return localVarReturnValue, localVarHTTPResponse, newErr
-			}
-			newErr.model = v
 		}
 		return localVarReturnValue, localVarHTTPResponse, newErr
 	}
@@ -638,67 +538,67 @@ func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethtt
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostRoleRequest struct {
+type DatasetApiApiGetUpstreamDatasetEventsRequest struct {
 	ctx _context.Context
-	ApiService *RoleApiService
-	role *Role
+	ApiService *DatasetApiService
+	dagId string
+	dagRunId string
 }
 
-func (r ApiPostRoleRequest) Role(role Role) ApiPostRoleRequest {
-	r.role = &role
-	return r
-}
 
-func (r ApiPostRoleRequest) Execute() (Role, *_nethttp.Response, error) {
-	return r.ApiService.PostRoleExecute(r)
+func (r DatasetApiApiGetUpstreamDatasetEventsRequest) Execute() (DatasetEventCollection, *_nethttp.Response, error) {
+	return r.ApiService.GetUpstreamDatasetEventsExecute(r)
 }
 
 /*
-PostRole Create a role
+GetUpstreamDatasetEvents Get dataset events for a DAG run
 
-Create a new role.
+Get datasets for a dag run.
 
-*New in version 2.1.0*
+*New in version 2.4.0*
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPostRoleRequest
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @return DatasetApiApiGetUpstreamDatasetEventsRequest
 */
-func (a *RoleApiService) PostRole(ctx _context.Context) ApiPostRoleRequest {
-	return ApiPostRoleRequest{
+func (a *DatasetApiService) GetUpstreamDatasetEvents(ctx _context.Context, dagId string, dagRunId string) DatasetApiApiGetUpstreamDatasetEventsRequest {
+	return DatasetApiApiGetUpstreamDatasetEventsRequest{
 		ApiService: a,
 		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
 	}
 }
 
 // Execute executes the request
-//  @return Role
-func (a *RoleApiService) PostRoleExecute(r ApiPostRoleRequest) (Role, *_nethttp.Response, error) {
+//  @return DatasetEventCollection
+func (a *DatasetApiService) GetUpstreamDatasetEventsExecute(r DatasetApiApiGetUpstreamDatasetEventsRequest) (DatasetEventCollection, *_nethttp.Response, error) {
 	var (
-		localVarHTTPMethod   = _nethttp.MethodPost
+		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
 		localVarFormFileName string
 		localVarFileName     string
 		localVarFileBytes    []byte
-		localVarReturnValue  Role
+		localVarReturnValue  DatasetEventCollection
 	)
 
-	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "RoleApiService.PostRole")
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "DatasetApiService.GetUpstreamDatasetEvents")
 	if err != nil {
 		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
 	}
 
-	localVarPath := localBasePath + "/roles"
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
 
 	localVarHeaderParams := make(map[string]string)
 	localVarQueryParams := _neturl.Values{}
 	localVarFormParams := _neturl.Values{}
-	if r.role == nil {
-		return localVarReturnValue, nil, reportError("role is required and must be specified")
-	}
 
 	// to determine the Content-Type header
-	localVarHTTPContentTypes := []string{"application/json"}
+	localVarHTTPContentTypes := []string{}
 
 	// set Content-Type header
 	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
@@ -714,8 +614,6 @@ func (a *RoleApiService) PostRoleExecute(r ApiPostRoleRequest) (Role, *_nethttp.
 	if localVarHTTPHeaderAccept != "" {
 		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
 	}
-	// body params
-	localVarPostBody = r.role
 	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
 	if err != nil {
 		return localVarReturnValue, nil, err
@@ -738,7 +636,7 @@ func (a *RoleApiService) PostRoleExecute(r ApiPostRoleRequest) (Role, *_nethttp.
 			body:  localVarBody,
 			error: localVarHTTPResponse.Status,
 		}
-		if localVarHTTPResponse.StatusCode == 400 {
+		if localVarHTTPResponse.StatusCode == 401 {
 			var v Error
 			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
 			if err != nil {
@@ -748,7 +646,7 @@ func (a *RoleApiService) PostRoleExecute(r ApiPostRoleRequest) (Role, *_nethttp.
 			newErr.model = v
 			return localVarReturnValue, localVarHTTPResponse, newErr
 		}
-		if localVarHTTPResponse.StatusCode == 401 {
+		if localVarHTTPResponse.StatusCode == 403 {
 			var v Error
 			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
 			if err != nil {
@@ -758,7 +656,7 @@ func (a *RoleApiService) PostRoleExecute(r ApiPostRoleRequest) (Role, *_nethttp.
 			newErr.model = v
 			return localVarReturnValue, localVarHTTPResponse, newErr
 		}
-		if localVarHTTPResponse.StatusCode == 403 {
+		if localVarHTTPResponse.StatusCode == 404 {
 			var v Error
 			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
 			if err != nil {
diff --git a/airflow/api_event_log.go b/airflow/api_event_log.go
index 56ea3cd..b140f38 100644
--- a/airflow/api_event_log.go
+++ b/airflow/api_event_log.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // EventLogApiService EventLogApi service
 type EventLogApiService service
 
-type ApiGetEventLogRequest struct {
+type EventLogApiApiGetEventLogRequest struct {
 	ctx _context.Context
 	ApiService *EventLogApiService
 	eventLogId int32
 }
 
 
-func (r ApiGetEventLogRequest) Execute() (EventLog, *_nethttp.Response, error) {
+func (r EventLogApiApiGetEventLogRequest) Execute() (EventLog, *_nethttp.Response, error) {
 	return r.ApiService.GetEventLogExecute(r)
 }
 
@@ -61,10 +61,10 @@ GetEventLog Get a log entry
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param eventLogId The event log ID.
- @return ApiGetEventLogRequest
+ @return EventLogApiApiGetEventLogRequest
 */
-func (a *EventLogApiService) GetEventLog(ctx _context.Context, eventLogId int32) ApiGetEventLogRequest {
-	return ApiGetEventLogRequest{
+func (a *EventLogApiService) GetEventLog(ctx _context.Context, eventLogId int32) EventLogApiApiGetEventLogRequest {
+	return EventLogApiApiGetEventLogRequest{
 		ApiService: a,
 		ctx: ctx,
 		eventLogId: eventLogId,
@@ -73,7 +73,7 @@ func (a *EventLogApiService) GetEventLog(ctx _context.Context, eventLogId int32)
 
 // Execute executes the request
 //  @return EventLog
-func (a *EventLogApiService) GetEventLogExecute(r ApiGetEventLogRequest) (EventLog, *_nethttp.Response, error) {
+func (a *EventLogApiService) GetEventLogExecute(r EventLogApiApiGetEventLogRequest) (EventLog, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -178,7 +178,7 @@ func (a *EventLogApiService) GetEventLogExecute(r ApiGetEventLogRequest) (EventL
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetEventLogsRequest struct {
+type EventLogApiApiGetEventLogsRequest struct {
 	ctx _context.Context
 	ApiService *EventLogApiService
 	limit *int32
@@ -187,22 +187,22 @@ type ApiGetEventLogsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetEventLogsRequest) Limit(limit int32) ApiGetEventLogsRequest {
+func (r EventLogApiApiGetEventLogsRequest) Limit(limit int32) EventLogApiApiGetEventLogsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetEventLogsRequest) Offset(offset int32) ApiGetEventLogsRequest {
+func (r EventLogApiApiGetEventLogsRequest) Offset(offset int32) EventLogApiApiGetEventLogsRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetEventLogsRequest) OrderBy(orderBy string) ApiGetEventLogsRequest {
+func (r EventLogApiApiGetEventLogsRequest) OrderBy(orderBy string) EventLogApiApiGetEventLogsRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetEventLogsRequest) Execute() (EventLogCollection, *_nethttp.Response, error) {
+func (r EventLogApiApiGetEventLogsRequest) Execute() (EventLogCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetEventLogsExecute(r)
 }
 
@@ -212,10 +212,10 @@ GetEventLogs List log entries
 List log entries from event log.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetEventLogsRequest
+ @return EventLogApiApiGetEventLogsRequest
 */
-func (a *EventLogApiService) GetEventLogs(ctx _context.Context) ApiGetEventLogsRequest {
-	return ApiGetEventLogsRequest{
+func (a *EventLogApiService) GetEventLogs(ctx _context.Context) EventLogApiApiGetEventLogsRequest {
+	return EventLogApiApiGetEventLogsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -223,7 +223,7 @@ func (a *EventLogApiService) GetEventLogs(ctx _context.Context) ApiGetEventLogsR
 
 // Execute executes the request
 //  @return EventLogCollection
-func (a *EventLogApiService) GetEventLogsExecute(r ApiGetEventLogsRequest) (EventLogCollection, *_nethttp.Response, error) {
+func (a *EventLogApiService) GetEventLogsExecute(r EventLogApiApiGetEventLogsRequest) (EventLogCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_import_error.go b/airflow/api_import_error.go
index ebfdd4b..3e3c7d6 100644
--- a/airflow/api_import_error.go
+++ b/airflow/api_import_error.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // ImportErrorApiService ImportErrorApi service
 type ImportErrorApiService service
 
-type ApiGetImportErrorRequest struct {
+type ImportErrorApiApiGetImportErrorRequest struct {
 	ctx _context.Context
 	ApiService *ImportErrorApiService
 	importErrorId int32
 }
 
 
-func (r ApiGetImportErrorRequest) Execute() (ImportError, *_nethttp.Response, error) {
+func (r ImportErrorApiApiGetImportErrorRequest) Execute() (ImportError, *_nethttp.Response, error) {
 	return r.ApiService.GetImportErrorExecute(r)
 }
 
@@ -61,10 +61,10 @@ GetImportError Get an import error
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param importErrorId The import error ID.
- @return ApiGetImportErrorRequest
+ @return ImportErrorApiApiGetImportErrorRequest
 */
-func (a *ImportErrorApiService) GetImportError(ctx _context.Context, importErrorId int32) ApiGetImportErrorRequest {
-	return ApiGetImportErrorRequest{
+func (a *ImportErrorApiService) GetImportError(ctx _context.Context, importErrorId int32) ImportErrorApiApiGetImportErrorRequest {
+	return ImportErrorApiApiGetImportErrorRequest{
 		ApiService: a,
 		ctx: ctx,
 		importErrorId: importErrorId,
@@ -73,7 +73,7 @@ func (a *ImportErrorApiService) GetImportError(ctx _context.Context, importError
 
 // Execute executes the request
 //  @return ImportError
-func (a *ImportErrorApiService) GetImportErrorExecute(r ApiGetImportErrorRequest) (ImportError, *_nethttp.Response, error) {
+func (a *ImportErrorApiService) GetImportErrorExecute(r ImportErrorApiApiGetImportErrorRequest) (ImportError, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -178,7 +178,7 @@ func (a *ImportErrorApiService) GetImportErrorExecute(r ApiGetImportErrorRequest
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetImportErrorsRequest struct {
+type ImportErrorApiApiGetImportErrorsRequest struct {
 	ctx _context.Context
 	ApiService *ImportErrorApiService
 	limit *int32
@@ -187,22 +187,22 @@ type ApiGetImportErrorsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetImportErrorsRequest) Limit(limit int32) ApiGetImportErrorsRequest {
+func (r ImportErrorApiApiGetImportErrorsRequest) Limit(limit int32) ImportErrorApiApiGetImportErrorsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetImportErrorsRequest) Offset(offset int32) ApiGetImportErrorsRequest {
+func (r ImportErrorApiApiGetImportErrorsRequest) Offset(offset int32) ImportErrorApiApiGetImportErrorsRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetImportErrorsRequest) OrderBy(orderBy string) ApiGetImportErrorsRequest {
+func (r ImportErrorApiApiGetImportErrorsRequest) OrderBy(orderBy string) ImportErrorApiApiGetImportErrorsRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetImportErrorsRequest) Execute() (ImportErrorCollection, *_nethttp.Response, error) {
+func (r ImportErrorApiApiGetImportErrorsRequest) Execute() (ImportErrorCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetImportErrorsExecute(r)
 }
 
@@ -210,10 +210,10 @@ func (r ApiGetImportErrorsRequest) Execute() (ImportErrorCollection, *_nethttp.R
 GetImportErrors List import errors
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetImportErrorsRequest
+ @return ImportErrorApiApiGetImportErrorsRequest
 */
-func (a *ImportErrorApiService) GetImportErrors(ctx _context.Context) ApiGetImportErrorsRequest {
-	return ApiGetImportErrorsRequest{
+func (a *ImportErrorApiService) GetImportErrors(ctx _context.Context) ImportErrorApiApiGetImportErrorsRequest {
+	return ImportErrorApiApiGetImportErrorsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -221,7 +221,7 @@ func (a *ImportErrorApiService) GetImportErrors(ctx _context.Context) ApiGetImpo
 
 // Execute executes the request
 //  @return ImportErrorCollection
-func (a *ImportErrorApiService) GetImportErrorsExecute(r ApiGetImportErrorsRequest) (ImportErrorCollection, *_nethttp.Response, error) {
+func (a *ImportErrorApiService) GetImportErrorsExecute(r ImportErrorApiApiGetImportErrorsRequest) (ImportErrorCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_monitoring.go b/airflow/api_monitoring.go
index 2356058..55cb14b 100644
--- a/airflow/api_monitoring.go
+++ b/airflow/api_monitoring.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -44,13 +44,13 @@ var (
 // MonitoringApiService MonitoringApi service
 type MonitoringApiService service
 
-type ApiGetHealthRequest struct {
+type MonitoringApiApiGetHealthRequest struct {
 	ctx _context.Context
 	ApiService *MonitoringApiService
 }
 
 
-func (r ApiGetHealthRequest) Execute() (HealthInfo, *_nethttp.Response, error) {
+func (r MonitoringApiApiGetHealthRequest) Execute() (HealthInfo, *_nethttp.Response, error) {
 	return r.ApiService.GetHealthExecute(r)
 }
 
@@ -62,10 +62,10 @@ metadatabase and last heartbeat of scheduler.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetHealthRequest
+ @return MonitoringApiApiGetHealthRequest
 */
-func (a *MonitoringApiService) GetHealth(ctx _context.Context) ApiGetHealthRequest {
-	return ApiGetHealthRequest{
+func (a *MonitoringApiService) GetHealth(ctx _context.Context) MonitoringApiApiGetHealthRequest {
+	return MonitoringApiApiGetHealthRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -73,7 +73,7 @@ func (a *MonitoringApiService) GetHealth(ctx _context.Context) ApiGetHealthReque
 
 // Execute executes the request
 //  @return HealthInfo
-func (a *MonitoringApiService) GetHealthExecute(r ApiGetHealthRequest) (HealthInfo, *_nethttp.Response, error) {
+func (a *MonitoringApiService) GetHealthExecute(r MonitoringApiApiGetHealthRequest) (HealthInfo, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -148,13 +148,13 @@ func (a *MonitoringApiService) GetHealthExecute(r ApiGetHealthRequest) (HealthIn
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetVersionRequest struct {
+type MonitoringApiApiGetVersionRequest struct {
 	ctx _context.Context
 	ApiService *MonitoringApiService
 }
 
 
-func (r ApiGetVersionRequest) Execute() (VersionInfo, *_nethttp.Response, error) {
+func (r MonitoringApiApiGetVersionRequest) Execute() (VersionInfo, *_nethttp.Response, error) {
 	return r.ApiService.GetVersionExecute(r)
 }
 
@@ -162,10 +162,10 @@ func (r ApiGetVersionRequest) Execute() (VersionInfo, *_nethttp.Response, error)
 GetVersion Get version information
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetVersionRequest
+ @return MonitoringApiApiGetVersionRequest
 */
-func (a *MonitoringApiService) GetVersion(ctx _context.Context) ApiGetVersionRequest {
-	return ApiGetVersionRequest{
+func (a *MonitoringApiService) GetVersion(ctx _context.Context) MonitoringApiApiGetVersionRequest {
+	return MonitoringApiApiGetVersionRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -173,7 +173,7 @@ func (a *MonitoringApiService) GetVersion(ctx _context.Context) ApiGetVersionReq
 
 // Execute executes the request
 //  @return VersionInfo
-func (a *MonitoringApiService) GetVersionExecute(r ApiGetVersionRequest) (VersionInfo, *_nethttp.Response, error) {
+func (a *MonitoringApiService) GetVersionExecute(r MonitoringApiApiGetVersionRequest) (VersionInfo, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_permission.go b/airflow/api_permission.go
index 7cb8719..8f596de 100644
--- a/airflow/api_permission.go
+++ b/airflow/api_permission.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -44,7 +44,7 @@ var (
 // PermissionApiService PermissionApi service
 type PermissionApiService service
 
-type ApiGetPermissionsRequest struct {
+type PermissionApiApiGetPermissionsRequest struct {
 	ctx _context.Context
 	ApiService *PermissionApiService
 	limit *int32
@@ -52,17 +52,17 @@ type ApiGetPermissionsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetPermissionsRequest) Limit(limit int32) ApiGetPermissionsRequest {
+func (r PermissionApiApiGetPermissionsRequest) Limit(limit int32) PermissionApiApiGetPermissionsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetPermissionsRequest) Offset(offset int32) ApiGetPermissionsRequest {
+func (r PermissionApiApiGetPermissionsRequest) Offset(offset int32) PermissionApiApiGetPermissionsRequest {
 	r.offset = &offset
 	return r
 }
 
-func (r ApiGetPermissionsRequest) Execute() (ActionCollection, *_nethttp.Response, error) {
+func (r PermissionApiApiGetPermissionsRequest) Execute() (ActionCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetPermissionsExecute(r)
 }
 
@@ -75,10 +75,10 @@ Get a list of permissions.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetPermissionsRequest
+ @return PermissionApiApiGetPermissionsRequest
 */
-func (a *PermissionApiService) GetPermissions(ctx _context.Context) ApiGetPermissionsRequest {
-	return ApiGetPermissionsRequest{
+func (a *PermissionApiService) GetPermissions(ctx _context.Context) PermissionApiApiGetPermissionsRequest {
+	return PermissionApiApiGetPermissionsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -86,7 +86,7 @@ func (a *PermissionApiService) GetPermissions(ctx _context.Context) ApiGetPermis
 
 // Execute executes the request
 //  @return ActionCollection
-func (a *PermissionApiService) GetPermissionsExecute(r ApiGetPermissionsRequest) (ActionCollection, *_nethttp.Response, error) {
+func (a *PermissionApiService) GetPermissionsExecute(r PermissionApiApiGetPermissionsRequest) (ActionCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_plugin.go b/airflow/api_plugin.go
index 19a467a..72ed584 100644
--- a/airflow/api_plugin.go
+++ b/airflow/api_plugin.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -44,7 +44,7 @@ var (
 // PluginApiService PluginApi service
 type PluginApiService service
 
-type ApiGetPluginsRequest struct {
+type PluginApiApiGetPluginsRequest struct {
 	ctx _context.Context
 	ApiService *PluginApiService
 	limit *int32
@@ -52,17 +52,17 @@ type ApiGetPluginsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetPluginsRequest) Limit(limit int32) ApiGetPluginsRequest {
+func (r PluginApiApiGetPluginsRequest) Limit(limit int32) PluginApiApiGetPluginsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetPluginsRequest) Offset(offset int32) ApiGetPluginsRequest {
+func (r PluginApiApiGetPluginsRequest) Offset(offset int32) PluginApiApiGetPluginsRequest {
 	r.offset = &offset
 	return r
 }
 
-func (r ApiGetPluginsRequest) Execute() (PluginCollection, *_nethttp.Response, error) {
+func (r PluginApiApiGetPluginsRequest) Execute() (PluginCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetPluginsExecute(r)
 }
 
@@ -75,10 +75,10 @@ Get a list of loaded plugins.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetPluginsRequest
+ @return PluginApiApiGetPluginsRequest
 */
-func (a *PluginApiService) GetPlugins(ctx _context.Context) ApiGetPluginsRequest {
-	return ApiGetPluginsRequest{
+func (a *PluginApiService) GetPlugins(ctx _context.Context) PluginApiApiGetPluginsRequest {
+	return PluginApiApiGetPluginsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -86,7 +86,7 @@ func (a *PluginApiService) GetPlugins(ctx _context.Context) ApiGetPluginsRequest
 
 // Execute executes the request
 //  @return PluginCollection
-func (a *PluginApiService) GetPluginsExecute(r ApiGetPluginsRequest) (PluginCollection, *_nethttp.Response, error) {
+func (a *PluginApiService) GetPluginsExecute(r PluginApiApiGetPluginsRequest) (PluginCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_pool.go b/airflow/api_pool.go
index 920be5c..8546f6d 100644
--- a/airflow/api_pool.go
+++ b/airflow/api_pool.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // PoolApiService PoolApi service
 type PoolApiService service
 
-type ApiDeletePoolRequest struct {
+type PoolApiApiDeletePoolRequest struct {
 	ctx _context.Context
 	ApiService *PoolApiService
 	poolName string
 }
 
 
-func (r ApiDeletePoolRequest) Execute() (*_nethttp.Response, error) {
+func (r PoolApiApiDeletePoolRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeletePoolExecute(r)
 }
 
@@ -61,10 +61,10 @@ DeletePool Delete a pool
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param poolName The pool name.
- @return ApiDeletePoolRequest
+ @return PoolApiApiDeletePoolRequest
 */
-func (a *PoolApiService) DeletePool(ctx _context.Context, poolName string) ApiDeletePoolRequest {
-	return ApiDeletePoolRequest{
+func (a *PoolApiService) DeletePool(ctx _context.Context, poolName string) PoolApiApiDeletePoolRequest {
+	return PoolApiApiDeletePoolRequest{
 		ApiService: a,
 		ctx: ctx,
 		poolName: poolName,
@@ -72,7 +72,7 @@ func (a *PoolApiService) DeletePool(ctx _context.Context, poolName string) ApiDe
 }
 
 // Execute executes the request
-func (a *PoolApiService) DeletePoolExecute(r ApiDeletePoolRequest) (*_nethttp.Response, error) {
+func (a *PoolApiService) DeletePoolExecute(r PoolApiApiDeletePoolRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -177,14 +177,14 @@ func (a *PoolApiService) DeletePoolExecute(r ApiDeletePoolRequest) (*_nethttp.Re
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetPoolRequest struct {
+type PoolApiApiGetPoolRequest struct {
 	ctx _context.Context
 	ApiService *PoolApiService
 	poolName string
 }
 
 
-func (r ApiGetPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
+func (r PoolApiApiGetPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
 	return r.ApiService.GetPoolExecute(r)
 }
 
@@ -193,10 +193,10 @@ GetPool Get a pool
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param poolName The pool name.
- @return ApiGetPoolRequest
+ @return PoolApiApiGetPoolRequest
 */
-func (a *PoolApiService) GetPool(ctx _context.Context, poolName string) ApiGetPoolRequest {
-	return ApiGetPoolRequest{
+func (a *PoolApiService) GetPool(ctx _context.Context, poolName string) PoolApiApiGetPoolRequest {
+	return PoolApiApiGetPoolRequest{
 		ApiService: a,
 		ctx: ctx,
 		poolName: poolName,
@@ -205,7 +205,7 @@ func (a *PoolApiService) GetPool(ctx _context.Context, poolName string) ApiGetPo
 
 // Execute executes the request
 //  @return Pool
-func (a *PoolApiService) GetPoolExecute(r ApiGetPoolRequest) (Pool, *_nethttp.Response, error) {
+func (a *PoolApiService) GetPoolExecute(r PoolApiApiGetPoolRequest) (Pool, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -310,7 +310,7 @@ func (a *PoolApiService) GetPoolExecute(r ApiGetPoolRequest) (Pool, *_nethttp.Re
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetPoolsRequest struct {
+type PoolApiApiGetPoolsRequest struct {
 	ctx _context.Context
 	ApiService *PoolApiService
 	limit *int32
@@ -319,22 +319,22 @@ type ApiGetPoolsRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetPoolsRequest) Limit(limit int32) ApiGetPoolsRequest {
+func (r PoolApiApiGetPoolsRequest) Limit(limit int32) PoolApiApiGetPoolsRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetPoolsRequest) Offset(offset int32) ApiGetPoolsRequest {
+func (r PoolApiApiGetPoolsRequest) Offset(offset int32) PoolApiApiGetPoolsRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetPoolsRequest) OrderBy(orderBy string) ApiGetPoolsRequest {
+func (r PoolApiApiGetPoolsRequest) OrderBy(orderBy string) PoolApiApiGetPoolsRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetPoolsRequest) Execute() (PoolCollection, *_nethttp.Response, error) {
+func (r PoolApiApiGetPoolsRequest) Execute() (PoolCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetPoolsExecute(r)
 }
 
@@ -342,10 +342,10 @@ func (r ApiGetPoolsRequest) Execute() (PoolCollection, *_nethttp.Response, error
 GetPools List pools
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetPoolsRequest
+ @return PoolApiApiGetPoolsRequest
 */
-func (a *PoolApiService) GetPools(ctx _context.Context) ApiGetPoolsRequest {
-	return ApiGetPoolsRequest{
+func (a *PoolApiService) GetPools(ctx _context.Context) PoolApiApiGetPoolsRequest {
+	return PoolApiApiGetPoolsRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -353,7 +353,7 @@ func (a *PoolApiService) GetPools(ctx _context.Context) ApiGetPoolsRequest {
 
 // Execute executes the request
 //  @return PoolCollection
-func (a *PoolApiService) GetPoolsExecute(r ApiGetPoolsRequest) (PoolCollection, *_nethttp.Response, error) {
+func (a *PoolApiService) GetPoolsExecute(r PoolApiApiGetPoolsRequest) (PoolCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -456,7 +456,7 @@ func (a *PoolApiService) GetPoolsExecute(r ApiGetPoolsRequest) (PoolCollection,
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchPoolRequest struct {
+type PoolApiApiPatchPoolRequest struct {
 	ctx _context.Context
 	ApiService *PoolApiService
 	poolName string
@@ -464,17 +464,17 @@ type ApiPatchPoolRequest struct {
 	updateMask *[]string
 }
 
-func (r ApiPatchPoolRequest) Pool(pool Pool) ApiPatchPoolRequest {
+func (r PoolApiApiPatchPoolRequest) Pool(pool Pool) PoolApiApiPatchPoolRequest {
 	r.pool = &pool
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchPoolRequest) UpdateMask(updateMask []string) ApiPatchPoolRequest {
+func (r PoolApiApiPatchPoolRequest) UpdateMask(updateMask []string) PoolApiApiPatchPoolRequest {
 	r.updateMask = &updateMask
 	return r
 }
 
-func (r ApiPatchPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
+func (r PoolApiApiPatchPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
 	return r.ApiService.PatchPoolExecute(r)
 }
 
@@ -483,10 +483,10 @@ PatchPool Update a pool
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param poolName The pool name.
- @return ApiPatchPoolRequest
+ @return PoolApiApiPatchPoolRequest
 */
-func (a *PoolApiService) PatchPool(ctx _context.Context, poolName string) ApiPatchPoolRequest {
-	return ApiPatchPoolRequest{
+func (a *PoolApiService) PatchPool(ctx _context.Context, poolName string) PoolApiApiPatchPoolRequest {
+	return PoolApiApiPatchPoolRequest{
 		ApiService: a,
 		ctx: ctx,
 		poolName: poolName,
@@ -495,7 +495,7 @@ func (a *PoolApiService) PatchPool(ctx _context.Context, poolName string) ApiPat
 
 // Execute executes the request
 //  @return Pool
-func (a *PoolApiService) PatchPoolExecute(r ApiPatchPoolRequest) (Pool, *_nethttp.Response, error) {
+func (a *PoolApiService) PatchPoolExecute(r PoolApiApiPatchPoolRequest) (Pool, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -628,18 +628,18 @@ func (a *PoolApiService) PatchPoolExecute(r ApiPatchPoolRequest) (Pool, *_nethtt
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostPoolRequest struct {
+type PoolApiApiPostPoolRequest struct {
 	ctx _context.Context
 	ApiService *PoolApiService
 	pool *Pool
 }
 
-func (r ApiPostPoolRequest) Pool(pool Pool) ApiPostPoolRequest {
+func (r PoolApiApiPostPoolRequest) Pool(pool Pool) PoolApiApiPostPoolRequest {
 	r.pool = &pool
 	return r
 }
 
-func (r ApiPostPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
+func (r PoolApiApiPostPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
 	return r.ApiService.PostPoolExecute(r)
 }
 
@@ -647,10 +647,10 @@ func (r ApiPostPoolRequest) Execute() (Pool, *_nethttp.Response, error) {
 PostPool Create a pool
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPostPoolRequest
+ @return PoolApiApiPostPoolRequest
 */
-func (a *PoolApiService) PostPool(ctx _context.Context) ApiPostPoolRequest {
-	return ApiPostPoolRequest{
+func (a *PoolApiService) PostPool(ctx _context.Context) PoolApiApiPostPoolRequest {
+	return PoolApiApiPostPoolRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -658,7 +658,7 @@ func (a *PoolApiService) PostPool(ctx _context.Context) ApiPostPoolRequest {
 
 // Execute executes the request
 //  @return Pool
-func (a *PoolApiService) PostPoolExecute(r ApiPostPoolRequest) (Pool, *_nethttp.Response, error) {
+func (a *PoolApiService) PostPoolExecute(r PoolApiApiPostPoolRequest) (Pool, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
diff --git a/airflow/api_provider.go b/airflow/api_provider.go
index c94c834..0fb17f9 100644
--- a/airflow/api_provider.go
+++ b/airflow/api_provider.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -44,13 +44,13 @@ var (
 // ProviderApiService ProviderApi service
 type ProviderApiService service
 
-type ApiGetProvidersRequest struct {
+type ProviderApiApiGetProvidersRequest struct {
 	ctx _context.Context
 	ApiService *ProviderApiService
 }
 
 
-func (r ApiGetProvidersRequest) Execute() (ProviderCollection, *_nethttp.Response, error) {
+func (r ProviderApiApiGetProvidersRequest) Execute() (ProviderCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetProvidersExecute(r)
 }
 
@@ -63,10 +63,10 @@ Get a list of providers.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetProvidersRequest
+ @return ProviderApiApiGetProvidersRequest
 */
-func (a *ProviderApiService) GetProviders(ctx _context.Context) ApiGetProvidersRequest {
-	return ApiGetProvidersRequest{
+func (a *ProviderApiService) GetProviders(ctx _context.Context) ProviderApiApiGetProvidersRequest {
+	return ProviderApiApiGetProvidersRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -74,7 +74,7 @@ func (a *ProviderApiService) GetProviders(ctx _context.Context) ApiGetProvidersR
 
 // Execute executes the request
 //  @return ProviderCollection
-func (a *ProviderApiService) GetProvidersExecute(r ApiGetProvidersRequest) (ProviderCollection, *_nethttp.Response, error) {
+func (a *ProviderApiService) GetProvidersExecute(r ProviderApiApiGetProvidersRequest) (ProviderCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
diff --git a/airflow/api_role.go b/airflow/api_role.go
index e597ca7..2560ea9 100644
--- a/airflow/api_role.go
+++ b/airflow/api_role.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // RoleApiService RoleApi service
 type RoleApiService service
 
-type ApiDeleteRoleRequest struct {
+type RoleApiApiDeleteRoleRequest struct {
 	ctx _context.Context
 	ApiService *RoleApiService
 	roleName string
 }
 
 
-func (r ApiDeleteRoleRequest) Execute() (*_nethttp.Response, error) {
+func (r RoleApiApiDeleteRoleRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeleteRoleExecute(r)
 }
 
@@ -66,10 +66,10 @@ Delete a role.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param roleName The role name
- @return ApiDeleteRoleRequest
+ @return RoleApiApiDeleteRoleRequest
 */
-func (a *RoleApiService) DeleteRole(ctx _context.Context, roleName string) ApiDeleteRoleRequest {
-	return ApiDeleteRoleRequest{
+func (a *RoleApiService) DeleteRole(ctx _context.Context, roleName string) RoleApiApiDeleteRoleRequest {
+	return RoleApiApiDeleteRoleRequest{
 		ApiService: a,
 		ctx: ctx,
 		roleName: roleName,
@@ -77,7 +77,7 @@ func (a *RoleApiService) DeleteRole(ctx _context.Context, roleName string) ApiDe
 }
 
 // Execute executes the request
-func (a *RoleApiService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*_nethttp.Response, error) {
+func (a *RoleApiService) DeleteRoleExecute(r RoleApiApiDeleteRoleRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -182,14 +182,14 @@ func (a *RoleApiService) DeleteRoleExecute(r ApiDeleteRoleRequest) (*_nethttp.Re
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetRoleRequest struct {
+type RoleApiApiGetRoleRequest struct {
 	ctx _context.Context
 	ApiService *RoleApiService
 	roleName string
 }
 
 
-func (r ApiGetRoleRequest) Execute() (Role, *_nethttp.Response, error) {
+func (r RoleApiApiGetRoleRequest) Execute() (Role, *_nethttp.Response, error) {
 	return r.ApiService.GetRoleExecute(r)
 }
 
@@ -203,10 +203,10 @@ Get a role.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param roleName The role name
- @return ApiGetRoleRequest
+ @return RoleApiApiGetRoleRequest
 */
-func (a *RoleApiService) GetRole(ctx _context.Context, roleName string) ApiGetRoleRequest {
-	return ApiGetRoleRequest{
+func (a *RoleApiService) GetRole(ctx _context.Context, roleName string) RoleApiApiGetRoleRequest {
+	return RoleApiApiGetRoleRequest{
 		ApiService: a,
 		ctx: ctx,
 		roleName: roleName,
@@ -215,7 +215,7 @@ func (a *RoleApiService) GetRole(ctx _context.Context, roleName string) ApiGetRo
 
 // Execute executes the request
 //  @return Role
-func (a *RoleApiService) GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Response, error) {
+func (a *RoleApiService) GetRoleExecute(r RoleApiApiGetRoleRequest) (Role, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -320,7 +320,7 @@ func (a *RoleApiService) GetRoleExecute(r ApiGetRoleRequest) (Role, *_nethttp.Re
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetRolesRequest struct {
+type RoleApiApiGetRolesRequest struct {
 	ctx _context.Context
 	ApiService *RoleApiService
 	limit *int32
@@ -329,22 +329,22 @@ type ApiGetRolesRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetRolesRequest) Limit(limit int32) ApiGetRolesRequest {
+func (r RoleApiApiGetRolesRequest) Limit(limit int32) RoleApiApiGetRolesRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetRolesRequest) Offset(offset int32) ApiGetRolesRequest {
+func (r RoleApiApiGetRolesRequest) Offset(offset int32) RoleApiApiGetRolesRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetRolesRequest) OrderBy(orderBy string) ApiGetRolesRequest {
+func (r RoleApiApiGetRolesRequest) OrderBy(orderBy string) RoleApiApiGetRolesRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetRolesRequest) Execute() (RoleCollection, *_nethttp.Response, error) {
+func (r RoleApiApiGetRolesRequest) Execute() (RoleCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetRolesExecute(r)
 }
 
@@ -357,10 +357,10 @@ Get a list of roles.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetRolesRequest
+ @return RoleApiApiGetRolesRequest
 */
-func (a *RoleApiService) GetRoles(ctx _context.Context) ApiGetRolesRequest {
-	return ApiGetRolesRequest{
+func (a *RoleApiService) GetRoles(ctx _context.Context) RoleApiApiGetRolesRequest {
+	return RoleApiApiGetRolesRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -368,7 +368,7 @@ func (a *RoleApiService) GetRoles(ctx _context.Context) ApiGetRolesRequest {
 
 // Execute executes the request
 //  @return RoleCollection
-func (a *RoleApiService) GetRolesExecute(r ApiGetRolesRequest) (RoleCollection, *_nethttp.Response, error) {
+func (a *RoleApiService) GetRolesExecute(r RoleApiApiGetRolesRequest) (RoleCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -471,7 +471,7 @@ func (a *RoleApiService) GetRolesExecute(r ApiGetRolesRequest) (RoleCollection,
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchRoleRequest struct {
+type RoleApiApiPatchRoleRequest struct {
 	ctx _context.Context
 	ApiService *RoleApiService
 	roleName string
@@ -479,17 +479,17 @@ type ApiPatchRoleRequest struct {
 	updateMask *[]string
 }
 
-func (r ApiPatchRoleRequest) Role(role Role) ApiPatchRoleRequest {
+func (r RoleApiApiPatchRoleRequest) Role(role Role) RoleApiApiPatchRoleRequest {
 	r.role = &role
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchRoleRequest) UpdateMask(updateMask []string) ApiPatchRoleRequest {
+func (r RoleApiApiPatchRoleRequest) UpdateMask(updateMask []string) RoleApiApiPatchRoleRequest {
 	r.updateMask = &updateMask
 	return r
 }
 
-func (r ApiPatchRoleRequest) Execute() (Role, *_nethttp.Response, error) {
+func (r RoleApiApiPatchRoleRequest) Execute() (Role, *_nethttp.Response, error) {
 	return r.ApiService.PatchRoleExecute(r)
 }
 
@@ -503,10 +503,10 @@ Update a role.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param roleName The role name
- @return ApiPatchRoleRequest
+ @return RoleApiApiPatchRoleRequest
 */
-func (a *RoleApiService) PatchRole(ctx _context.Context, roleName string) ApiPatchRoleRequest {
-	return ApiPatchRoleRequest{
+func (a *RoleApiService) PatchRole(ctx _context.Context, roleName string) RoleApiApiPatchRoleRequest {
+	return RoleApiApiPatchRoleRequest{
 		ApiService: a,
 		ctx: ctx,
 		roleName: roleName,
@@ -515,7 +515,7 @@ func (a *RoleApiService) PatchRole(ctx _context.Context, roleName string) ApiPat
 
 // Execute executes the request
 //  @return Role
-func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethttp.Response, error) {
+func (a *RoleApiService) PatchRoleExecute(r RoleApiApiPatchRoleRequest) (Role, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -638,18 +638,18 @@ func (a *RoleApiService) PatchRoleExecute(r ApiPatchRoleRequest) (Role, *_nethtt
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostRoleRequest struct {
+type RoleApiApiPostRoleRequest struct {
 	ctx _context.Context
 	ApiService *RoleApiService
 	role *Role
 }
 
-func (r ApiPostRoleRequest) Role(role Role) ApiPostRoleRequest {
+func (r RoleApiApiPostRoleRequest) Role(role Role) RoleApiApiPostRoleRequest {
 	r.role = &role
 	return r
 }
 
-func (r ApiPostRoleRequest) Execute() (Role, *_nethttp.Response, error) {
+func (r RoleApiApiPostRoleRequest) Execute() (Role, *_nethttp.Response, error) {
 	return r.ApiService.PostRoleExecute(r)
 }
 
@@ -662,10 +662,10 @@ Create a new role.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPostRoleRequest
+ @return RoleApiApiPostRoleRequest
 */
-func (a *RoleApiService) PostRole(ctx _context.Context) ApiPostRoleRequest {
-	return ApiPostRoleRequest{
+func (a *RoleApiService) PostRole(ctx _context.Context) RoleApiApiPostRoleRequest {
+	return RoleApiApiPostRoleRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -673,7 +673,7 @@ func (a *RoleApiService) PostRole(ctx _context.Context) ApiPostRoleRequest {
 
 // Execute executes the request
 //  @return Role
-func (a *RoleApiService) PostRoleExecute(r ApiPostRoleRequest) (Role, *_nethttp.Response, error) {
+func (a *RoleApiService) PostRoleExecute(r RoleApiApiPostRoleRequest) (Role, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
diff --git a/airflow/api_task_instance.go b/airflow/api_task_instance.go
index 036019c..1517631 100644
--- a/airflow/api_task_instance.go
+++ b/airflow/api_task_instance.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -47,7 +47,7 @@ var (
 // TaskInstanceApiService TaskInstanceApi service
 type TaskInstanceApiService service
 
-type ApiGetExtraLinksRequest struct {
+type TaskInstanceApiApiGetExtraLinksRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	dagId string
@@ -56,7 +56,7 @@ type ApiGetExtraLinksRequest struct {
 }
 
 
-func (r ApiGetExtraLinksRequest) Execute() (ExtraLinkCollection, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetExtraLinksRequest) Execute() (ExtraLinkCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetExtraLinksExecute(r)
 }
 
@@ -70,10 +70,10 @@ List extra links for task instance.
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
- @return ApiGetExtraLinksRequest
+ @return TaskInstanceApiApiGetExtraLinksRequest
 */
-func (a *TaskInstanceApiService) GetExtraLinks(ctx _context.Context, dagId string, dagRunId string, taskId string) ApiGetExtraLinksRequest {
-	return ApiGetExtraLinksRequest{
+func (a *TaskInstanceApiService) GetExtraLinks(ctx _context.Context, dagId string, dagRunId string, taskId string) TaskInstanceApiApiGetExtraLinksRequest {
+	return TaskInstanceApiApiGetExtraLinksRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -84,7 +84,7 @@ func (a *TaskInstanceApiService) GetExtraLinks(ctx _context.Context, dagId strin
 
 // Execute executes the request
 //  @return ExtraLinkCollection
-func (a *TaskInstanceApiService) GetExtraLinksExecute(r ApiGetExtraLinksRequest) (ExtraLinkCollection, *_nethttp.Response, error) {
+func (a *TaskInstanceApiService) GetExtraLinksExecute(r TaskInstanceApiApiGetExtraLinksRequest) (ExtraLinkCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -191,7 +191,7 @@ func (a *TaskInstanceApiService) GetExtraLinksExecute(r ApiGetExtraLinksRequest)
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetLogRequest struct {
+type TaskInstanceApiApiGetLogRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	dagId string
@@ -199,21 +199,27 @@ type ApiGetLogRequest struct {
 	taskId string
 	taskTryNumber int32
 	fullContent *bool
+	mapIndex *int32
 	token *string
 }
 
 // A full content will be returned. By default, only the first fragment will be returned. 
-func (r ApiGetLogRequest) FullContent(fullContent bool) ApiGetLogRequest {
+func (r TaskInstanceApiApiGetLogRequest) FullContent(fullContent bool) TaskInstanceApiApiGetLogRequest {
 	r.fullContent = &fullContent
 	return r
 }
+// Filter on map index for mapped task.
+func (r TaskInstanceApiApiGetLogRequest) MapIndex(mapIndex int32) TaskInstanceApiApiGetLogRequest {
+	r.mapIndex = &mapIndex
+	return r
+}
 // A token that allows you to continue fetching logs. If passed, it will specify the location from which the download should be continued. 
-func (r ApiGetLogRequest) Token(token string) ApiGetLogRequest {
+func (r TaskInstanceApiApiGetLogRequest) Token(token string) TaskInstanceApiApiGetLogRequest {
 	r.token = &token
 	return r
 }
 
-func (r ApiGetLogRequest) Execute() (InlineResponse200, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetLogRequest) Execute() (InlineResponse200, *_nethttp.Response, error) {
 	return r.ApiService.GetLogExecute(r)
 }
 
@@ -227,10 +233,10 @@ Get logs for a specific task instance and its try number.
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
  @param taskTryNumber The task try number.
- @return ApiGetLogRequest
+ @return TaskInstanceApiApiGetLogRequest
 */
-func (a *TaskInstanceApiService) GetLog(ctx _context.Context, dagId string, dagRunId string, taskId string, taskTryNumber int32) ApiGetLogRequest {
-	return ApiGetLogRequest{
+func (a *TaskInstanceApiService) GetLog(ctx _context.Context, dagId string, dagRunId string, taskId string, taskTryNumber int32) TaskInstanceApiApiGetLogRequest {
+	return TaskInstanceApiApiGetLogRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -242,7 +248,7 @@ func (a *TaskInstanceApiService) GetLog(ctx _context.Context, dagId string, dagR
 
 // Execute executes the request
 //  @return InlineResponse200
-func (a *TaskInstanceApiService) GetLogExecute(r ApiGetLogRequest) (InlineResponse200, *_nethttp.Response, error) {
+func (a *TaskInstanceApiService) GetLogExecute(r TaskInstanceApiApiGetLogRequest) (InlineResponse200, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -270,6 +276,9 @@ func (a *TaskInstanceApiService) GetLogExecute(r ApiGetLogRequest) (InlineRespon
 	if r.fullContent != nil {
 		localVarQueryParams.Add("full_content", parameterToString(*r.fullContent, ""))
 	}
+	if r.mapIndex != nil {
+		localVarQueryParams.Add("map_index", parameterToString(*r.mapIndex, ""))
+	}
 	if r.token != nil {
 		localVarQueryParams.Add("token", parameterToString(*r.token, ""))
 	}
@@ -366,7 +375,7 @@ func (a *TaskInstanceApiService) GetLogExecute(r ApiGetLogRequest) (InlineRespon
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetMappedTaskInstanceRequest struct {
+type TaskInstanceApiApiGetMappedTaskInstanceRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	dagId string
@@ -376,7 +385,7 @@ type ApiGetMappedTaskInstanceRequest struct {
 }
 
 
-func (r ApiGetMappedTaskInstanceRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetMappedTaskInstanceRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
 	return r.ApiService.GetMappedTaskInstanceExecute(r)
 }
 
@@ -393,10 +402,10 @@ Get details of a mapped task instance.
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
  @param mapIndex The map index.
- @return ApiGetMappedTaskInstanceRequest
+ @return TaskInstanceApiApiGetMappedTaskInstanceRequest
 */
-func (a *TaskInstanceApiService) GetMappedTaskInstance(ctx _context.Context, dagId string, dagRunId string, taskId string, mapIndex int32) ApiGetMappedTaskInstanceRequest {
-	return ApiGetMappedTaskInstanceRequest{
+func (a *TaskInstanceApiService) GetMappedTaskInstance(ctx _context.Context, dagId string, dagRunId string, taskId string, mapIndex int32) TaskInstanceApiApiGetMappedTaskInstanceRequest {
+	return TaskInstanceApiApiGetMappedTaskInstanceRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -408,7 +417,7 @@ func (a *TaskInstanceApiService) GetMappedTaskInstance(ctx _context.Context, dag
 
 // Execute executes the request
 //  @return TaskInstance
-func (a *TaskInstanceApiService) GetMappedTaskInstanceExecute(r ApiGetMappedTaskInstanceRequest) (TaskInstance, *_nethttp.Response, error) {
+func (a *TaskInstanceApiService) GetMappedTaskInstanceExecute(r TaskInstanceApiApiGetMappedTaskInstanceRequest) (TaskInstance, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -516,7 +525,7 @@ func (a *TaskInstanceApiService) GetMappedTaskInstanceExecute(r ApiGetMappedTask
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetMappedTaskInstancesRequest struct {
+type TaskInstanceApiApiGetMappedTaskInstancesRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	dagId string
@@ -539,77 +548,77 @@ type ApiGetMappedTaskInstancesRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetMappedTaskInstancesRequest) Limit(limit int32) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) Limit(limit int32) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetMappedTaskInstancesRequest) Offset(offset int32) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) Offset(offset int32) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.offset = &offset
 	return r
 }
 // Returns objects greater or equal to the specified date.  This can be combined with execution_date_lte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) ExecutionDateGte(executionDateGte time.Time) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) ExecutionDateGte(executionDateGte time.Time) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.executionDateGte = &executionDateGte
 	return r
 }
 // Returns objects less than or equal to the specified date.  This can be combined with execution_date_gte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) ExecutionDateLte(executionDateLte time.Time) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) ExecutionDateLte(executionDateLte time.Time) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.executionDateLte = &executionDateLte
 	return r
 }
 // Returns objects greater or equal the specified date.  This can be combined with start_date_lte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) StartDateGte(startDateGte time.Time) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) StartDateGte(startDateGte time.Time) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.startDateGte = &startDateGte
 	return r
 }
 // Returns objects less or equal the specified date.  This can be combined with start_date_gte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) StartDateLte(startDateLte time.Time) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) StartDateLte(startDateLte time.Time) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.startDateLte = &startDateLte
 	return r
 }
 // Returns objects greater or equal the specified date.  This can be combined with start_date_lte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) EndDateGte(endDateGte time.Time) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) EndDateGte(endDateGte time.Time) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.endDateGte = &endDateGte
 	return r
 }
 // Returns objects less than or equal to the specified date.  This can be combined with start_date_gte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) EndDateLte(endDateLte time.Time) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) EndDateLte(endDateLte time.Time) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.endDateLte = &endDateLte
 	return r
 }
 // Returns objects greater than or equal to the specified values.  This can be combined with duration_lte parameter to receive only the selected period. 
-func (r ApiGetMappedTaskInstancesRequest) DurationGte(durationGte float32) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) DurationGte(durationGte float32) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.durationGte = &durationGte
 	return r
 }
 // Returns objects less than or equal to the specified values.  This can be combined with duration_gte parameter to receive only the selected range. 
-func (r ApiGetMappedTaskInstancesRequest) DurationLte(durationLte float32) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) DurationLte(durationLte float32) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.durationLte = &durationLte
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetMappedTaskInstancesRequest) State(state []string) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) State(state []string) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.state = &state
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetMappedTaskInstancesRequest) Pool(pool []string) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) Pool(pool []string) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.pool = &pool
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetMappedTaskInstancesRequest) Queue(queue []string) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) Queue(queue []string) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.queue = &queue
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetMappedTaskInstancesRequest) OrderBy(orderBy string) ApiGetMappedTaskInstancesRequest {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) OrderBy(orderBy string) TaskInstanceApiApiGetMappedTaskInstancesRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetMappedTaskInstancesRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetMappedTaskInstancesRequest) Execute() (TaskInstanceCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetMappedTaskInstancesExecute(r)
 }
 
@@ -625,10 +634,10 @@ Get details of all mapped task instances.
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
- @return ApiGetMappedTaskInstancesRequest
+ @return TaskInstanceApiApiGetMappedTaskInstancesRequest
 */
-func (a *TaskInstanceApiService) GetMappedTaskInstances(ctx _context.Context, dagId string, dagRunId string, taskId string) ApiGetMappedTaskInstancesRequest {
-	return ApiGetMappedTaskInstancesRequest{
+func (a *TaskInstanceApiService) GetMappedTaskInstances(ctx _context.Context, dagId string, dagRunId string, taskId string) TaskInstanceApiApiGetMappedTaskInstancesRequest {
+	return TaskInstanceApiApiGetMappedTaskInstancesRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -638,15 +647,15 @@ func (a *TaskInstanceApiService) GetMappedTaskInstances(ctx _context.Context, da
 }
 
 // Execute executes the request
-//  @return TaskInstance
-func (a *TaskInstanceApiService) GetMappedTaskInstancesExecute(r ApiGetMappedTaskInstancesRequest) (TaskInstance, *_nethttp.Response, error) {
+//  @return TaskInstanceCollection
+func (a *TaskInstanceApiService) GetMappedTaskInstancesExecute(r TaskInstanceApiApiGetMappedTaskInstancesRequest) (TaskInstanceCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
 		localVarFormFileName string
 		localVarFileName     string
 		localVarFileBytes    []byte
-		localVarReturnValue  TaskInstance
+		localVarReturnValue  TaskInstanceCollection
 	)
 
 	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskInstanceApiService.GetMappedTaskInstances")
@@ -812,7 +821,7 @@ func (a *TaskInstanceApiService) GetMappedTaskInstancesExecute(r ApiGetMappedTas
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetTaskInstanceRequest struct {
+type TaskInstanceApiApiGetTaskInstanceRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	dagId string
@@ -821,7 +830,7 @@ type ApiGetTaskInstanceRequest struct {
 }
 
 
-func (r ApiGetTaskInstanceRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetTaskInstanceRequest) Execute() (TaskInstance, *_nethttp.Response, error) {
 	return r.ApiService.GetTaskInstanceExecute(r)
 }
 
@@ -832,10 +841,10 @@ GetTaskInstance Get a task instance
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
- @return ApiGetTaskInstanceRequest
+ @return TaskInstanceApiApiGetTaskInstanceRequest
 */
-func (a *TaskInstanceApiService) GetTaskInstance(ctx _context.Context, dagId string, dagRunId string, taskId string) ApiGetTaskInstanceRequest {
-	return ApiGetTaskInstanceRequest{
+func (a *TaskInstanceApiService) GetTaskInstance(ctx _context.Context, dagId string, dagRunId string, taskId string) TaskInstanceApiApiGetTaskInstanceRequest {
+	return TaskInstanceApiApiGetTaskInstanceRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -846,7 +855,7 @@ func (a *TaskInstanceApiService) GetTaskInstance(ctx _context.Context, dagId str
 
 // Execute executes the request
 //  @return TaskInstance
-func (a *TaskInstanceApiService) GetTaskInstanceExecute(r ApiGetTaskInstanceRequest) (TaskInstance, *_nethttp.Response, error) {
+func (a *TaskInstanceApiService) GetTaskInstanceExecute(r TaskInstanceApiApiGetTaskInstanceRequest) (TaskInstance, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -953,7 +962,7 @@ func (a *TaskInstanceApiService) GetTaskInstanceExecute(r ApiGetTaskInstanceRequ
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetTaskInstancesRequest struct {
+type TaskInstanceApiApiGetTaskInstancesRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	dagId string
@@ -974,72 +983,72 @@ type ApiGetTaskInstancesRequest struct {
 }
 
 // Returns objects greater or equal to the specified date.  This can be combined with execution_date_lte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) ExecutionDateGte(executionDateGte time.Time) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) ExecutionDateGte(executionDateGte time.Time) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.executionDateGte = &executionDateGte
 	return r
 }
 // Returns objects less than or equal to the specified date.  This can be combined with execution_date_gte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) ExecutionDateLte(executionDateLte time.Time) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) ExecutionDateLte(executionDateLte time.Time) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.executionDateLte = &executionDateLte
 	return r
 }
 // Returns objects greater or equal the specified date.  This can be combined with start_date_lte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) StartDateGte(startDateGte time.Time) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) StartDateGte(startDateGte time.Time) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.startDateGte = &startDateGte
 	return r
 }
 // Returns objects less or equal the specified date.  This can be combined with start_date_gte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) StartDateLte(startDateLte time.Time) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) StartDateLte(startDateLte time.Time) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.startDateLte = &startDateLte
 	return r
 }
 // Returns objects greater or equal the specified date.  This can be combined with start_date_lte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) EndDateGte(endDateGte time.Time) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) EndDateGte(endDateGte time.Time) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.endDateGte = &endDateGte
 	return r
 }
 // Returns objects less than or equal to the specified date.  This can be combined with start_date_gte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) EndDateLte(endDateLte time.Time) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) EndDateLte(endDateLte time.Time) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.endDateLte = &endDateLte
 	return r
 }
 // Returns objects greater than or equal to the specified values.  This can be combined with duration_lte parameter to receive only the selected period. 
-func (r ApiGetTaskInstancesRequest) DurationGte(durationGte float32) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) DurationGte(durationGte float32) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.durationGte = &durationGte
 	return r
 }
 // Returns objects less than or equal to the specified values.  This can be combined with duration_gte parameter to receive only the selected range. 
-func (r ApiGetTaskInstancesRequest) DurationLte(durationLte float32) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) DurationLte(durationLte float32) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.durationLte = &durationLte
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetTaskInstancesRequest) State(state []string) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) State(state []string) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.state = &state
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetTaskInstancesRequest) Pool(pool []string) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) Pool(pool []string) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.pool = &pool
 	return r
 }
 // The value can be repeated to retrieve multiple matching values (OR condition).
-func (r ApiGetTaskInstancesRequest) Queue(queue []string) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) Queue(queue []string) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.queue = &queue
 	return r
 }
 // The numbers of items to return.
-func (r ApiGetTaskInstancesRequest) Limit(limit int32) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) Limit(limit int32) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetTaskInstancesRequest) Offset(offset int32) ApiGetTaskInstancesRequest {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) Offset(offset int32) TaskInstanceApiApiGetTaskInstancesRequest {
 	r.offset = &offset
 	return r
 }
 
-func (r ApiGetTaskInstancesRequest) Execute() (TaskInstanceCollection, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetTaskInstancesRequest) Execute() (TaskInstanceCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetTaskInstancesExecute(r)
 }
 
@@ -1052,10 +1061,10 @@ This endpoint allows specifying `~` as the dag_id, dag_run_id to retrieve DAG ru
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
- @return ApiGetTaskInstancesRequest
+ @return TaskInstanceApiApiGetTaskInstancesRequest
 */
-func (a *TaskInstanceApiService) GetTaskInstances(ctx _context.Context, dagId string, dagRunId string) ApiGetTaskInstancesRequest {
-	return ApiGetTaskInstancesRequest{
+func (a *TaskInstanceApiService) GetTaskInstances(ctx _context.Context, dagId string, dagRunId string) TaskInstanceApiApiGetTaskInstancesRequest {
+	return TaskInstanceApiApiGetTaskInstancesRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -1065,7 +1074,7 @@ func (a *TaskInstanceApiService) GetTaskInstances(ctx _context.Context, dagId st
 
 // Execute executes the request
 //  @return TaskInstanceCollection
-func (a *TaskInstanceApiService) GetTaskInstancesExecute(r ApiGetTaskInstancesRequest) (TaskInstanceCollection, *_nethttp.Response, error) {
+func (a *TaskInstanceApiService) GetTaskInstancesExecute(r TaskInstanceApiApiGetTaskInstancesRequest) (TaskInstanceCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -1224,18 +1233,18 @@ func (a *TaskInstanceApiService) GetTaskInstancesExecute(r ApiGetTaskInstancesRe
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetTaskInstancesBatchRequest struct {
+type TaskInstanceApiApiGetTaskInstancesBatchRequest struct {
 	ctx _context.Context
 	ApiService *TaskInstanceApiService
 	listTaskInstanceForm *ListTaskInstanceForm
 }
 
-func (r ApiGetTaskInstancesBatchRequest) ListTaskInstanceForm(listTaskInstanceForm ListTaskInstanceForm) ApiGetTaskInstancesBatchRequest {
+func (r TaskInstanceApiApiGetTaskInstancesBatchRequest) ListTaskInstanceForm(listTaskInstanceForm ListTaskInstanceForm) TaskInstanceApiApiGetTaskInstancesBatchRequest {
 	r.listTaskInstanceForm = &listTaskInstanceForm
 	return r
 }
 
-func (r ApiGetTaskInstancesBatchRequest) Execute() (TaskInstanceCollection, *_nethttp.Response, error) {
+func (r TaskInstanceApiApiGetTaskInstancesBatchRequest) Execute() (TaskInstanceCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetTaskInstancesBatchExecute(r)
 }
 
@@ -1247,10 +1256,10 @@ This endpoint is a POST to allow filtering across a large number of DAG IDs, whe
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetTaskInstancesBatchRequest
+ @return TaskInstanceApiApiGetTaskInstancesBatchRequest
 */
-func (a *TaskInstanceApiService) GetTaskInstancesBatch(ctx _context.Context) ApiGetTaskInstancesBatchRequest {
-	return ApiGetTaskInstancesBatchRequest{
+func (a *TaskInstanceApiService) GetTaskInstancesBatch(ctx _context.Context) TaskInstanceApiApiGetTaskInstancesBatchRequest {
+	return TaskInstanceApiApiGetTaskInstancesBatchRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -1258,7 +1267,7 @@ func (a *TaskInstanceApiService) GetTaskInstancesBatch(ctx _context.Context) Api
 
 // Execute executes the request
 //  @return TaskInstanceCollection
-func (a *TaskInstanceApiService) GetTaskInstancesBatchExecute(r ApiGetTaskInstancesBatchRequest) (TaskInstanceCollection, *_nethttp.Response, error) {
+func (a *TaskInstanceApiService) GetTaskInstancesBatchExecute(r TaskInstanceApiApiGetTaskInstancesBatchRequest) (TaskInstanceCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
@@ -1366,3 +1375,316 @@ func (a *TaskInstanceApiService) GetTaskInstancesBatchExecute(r ApiGetTaskInstan
 
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
+
+type TaskInstanceApiApiPatchMappedTaskInstanceRequest struct {
+	ctx _context.Context
+	ApiService *TaskInstanceApiService
+	dagId string
+	dagRunId string
+	taskId string
+	mapIndex int32
+	updateTaskInstance *UpdateTaskInstance
+}
+
+// Parameters of action
+func (r TaskInstanceApiApiPatchMappedTaskInstanceRequest) UpdateTaskInstance(updateTaskInstance UpdateTaskInstance) TaskInstanceApiApiPatchMappedTaskInstanceRequest {
+	r.updateTaskInstance = &updateTaskInstance
+	return r
+}
+
+func (r TaskInstanceApiApiPatchMappedTaskInstanceRequest) Execute() (TaskInstanceReference, *_nethttp.Response, error) {
+	return r.ApiService.PatchMappedTaskInstanceExecute(r)
+}
+
+/*
+PatchMappedTaskInstance Updates the state of a mapped task instance
+
+Updates the state for single mapped task instance.
+*New in version 2.5.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @param taskId The task ID.
+ @param mapIndex The map index.
+ @return TaskInstanceApiApiPatchMappedTaskInstanceRequest
+*/
+func (a *TaskInstanceApiService) PatchMappedTaskInstance(ctx _context.Context, dagId string, dagRunId string, taskId string, mapIndex int32) TaskInstanceApiApiPatchMappedTaskInstanceRequest {
+	return TaskInstanceApiApiPatchMappedTaskInstanceRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+		taskId: taskId,
+		mapIndex: mapIndex,
+	}
+}
+
+// Execute executes the request
+//  @return TaskInstanceReference
+func (a *TaskInstanceApiService) PatchMappedTaskInstanceExecute(r TaskInstanceApiApiPatchMappedTaskInstanceRequest) (TaskInstanceReference, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodPatch
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  TaskInstanceReference
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskInstanceApiService.PatchMappedTaskInstance")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"task_id"+"}", _neturl.PathEscape(parameterToString(r.taskId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"map_index"+"}", _neturl.PathEscape(parameterToString(r.mapIndex, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{"application/json"}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	// body params
+	localVarPostBody = r.updateTaskInstance
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
+
+type TaskInstanceApiApiPatchTaskInstanceRequest struct {
+	ctx _context.Context
+	ApiService *TaskInstanceApiService
+	dagId string
+	dagRunId string
+	taskId string
+	updateTaskInstance *UpdateTaskInstance
+}
+
+// Parameters of action
+func (r TaskInstanceApiApiPatchTaskInstanceRequest) UpdateTaskInstance(updateTaskInstance UpdateTaskInstance) TaskInstanceApiApiPatchTaskInstanceRequest {
+	r.updateTaskInstance = &updateTaskInstance
+	return r
+}
+
+func (r TaskInstanceApiApiPatchTaskInstanceRequest) Execute() (TaskInstanceReference, *_nethttp.Response, error) {
+	return r.ApiService.PatchTaskInstanceExecute(r)
+}
+
+/*
+PatchTaskInstance Updates the state of a task instance
+
+Updates the state for single task instance.
+*New in version 2.5.0*
+
+
+ @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
+ @param dagId The DAG ID.
+ @param dagRunId The DAG run ID.
+ @param taskId The task ID.
+ @return TaskInstanceApiApiPatchTaskInstanceRequest
+*/
+func (a *TaskInstanceApiService) PatchTaskInstance(ctx _context.Context, dagId string, dagRunId string, taskId string) TaskInstanceApiApiPatchTaskInstanceRequest {
+	return TaskInstanceApiApiPatchTaskInstanceRequest{
+		ApiService: a,
+		ctx: ctx,
+		dagId: dagId,
+		dagRunId: dagRunId,
+		taskId: taskId,
+	}
+}
+
+// Execute executes the request
+//  @return TaskInstanceReference
+func (a *TaskInstanceApiService) PatchTaskInstanceExecute(r TaskInstanceApiApiPatchTaskInstanceRequest) (TaskInstanceReference, *_nethttp.Response, error) {
+	var (
+		localVarHTTPMethod   = _nethttp.MethodPatch
+		localVarPostBody     interface{}
+		localVarFormFileName string
+		localVarFileName     string
+		localVarFileBytes    []byte
+		localVarReturnValue  TaskInstanceReference
+	)
+
+	localBasePath, err := a.client.cfg.ServerURLWithContext(r.ctx, "TaskInstanceApiService.PatchTaskInstance")
+	if err != nil {
+		return localVarReturnValue, nil, GenericOpenAPIError{error: err.Error()}
+	}
+
+	localVarPath := localBasePath + "/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}"
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_id"+"}", _neturl.PathEscape(parameterToString(r.dagId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"dag_run_id"+"}", _neturl.PathEscape(parameterToString(r.dagRunId, "")), -1)
+	localVarPath = strings.Replace(localVarPath, "{"+"task_id"+"}", _neturl.PathEscape(parameterToString(r.taskId, "")), -1)
+
+	localVarHeaderParams := make(map[string]string)
+	localVarQueryParams := _neturl.Values{}
+	localVarFormParams := _neturl.Values{}
+	if r.updateTaskInstance == nil {
+		return localVarReturnValue, nil, reportError("updateTaskInstance is required and must be specified")
+	}
+
+	// to determine the Content-Type header
+	localVarHTTPContentTypes := []string{"application/json"}
+
+	// set Content-Type header
+	localVarHTTPContentType := selectHeaderContentType(localVarHTTPContentTypes)
+	if localVarHTTPContentType != "" {
+		localVarHeaderParams["Content-Type"] = localVarHTTPContentType
+	}
+
+	// to determine the Accept header
+	localVarHTTPHeaderAccepts := []string{"application/json"}
+
+	// set Accept header
+	localVarHTTPHeaderAccept := selectHeaderAccept(localVarHTTPHeaderAccepts)
+	if localVarHTTPHeaderAccept != "" {
+		localVarHeaderParams["Accept"] = localVarHTTPHeaderAccept
+	}
+	// body params
+	localVarPostBody = r.updateTaskInstance
+	req, err := a.client.prepareRequest(r.ctx, localVarPath, localVarHTTPMethod, localVarPostBody, localVarHeaderParams, localVarQueryParams, localVarFormParams, localVarFormFileName, localVarFileName, localVarFileBytes)
+	if err != nil {
+		return localVarReturnValue, nil, err
+	}
+
+	localVarHTTPResponse, err := a.client.callAPI(req)
+	if err != nil || localVarHTTPResponse == nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	localVarBody, err := _ioutil.ReadAll(localVarHTTPResponse.Body)
+	localVarHTTPResponse.Body.Close()
+	localVarHTTPResponse.Body = _ioutil.NopCloser(bytes.NewBuffer(localVarBody))
+	if err != nil {
+		return localVarReturnValue, localVarHTTPResponse, err
+	}
+
+	if localVarHTTPResponse.StatusCode >= 300 {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: localVarHTTPResponse.Status,
+		}
+		if localVarHTTPResponse.StatusCode == 401 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 403 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+			return localVarReturnValue, localVarHTTPResponse, newErr
+		}
+		if localVarHTTPResponse.StatusCode == 404 {
+			var v Error
+			err = a.client.decode(&v, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+			if err != nil {
+				newErr.error = err.Error()
+				return localVarReturnValue, localVarHTTPResponse, newErr
+			}
+			newErr.model = v
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	err = a.client.decode(&localVarReturnValue, localVarBody, localVarHTTPResponse.Header.Get("Content-Type"))
+	if err != nil {
+		newErr := GenericOpenAPIError{
+			body:  localVarBody,
+			error: err.Error(),
+		}
+		return localVarReturnValue, localVarHTTPResponse, newErr
+	}
+
+	return localVarReturnValue, localVarHTTPResponse, nil
+}
diff --git a/airflow/api_user.go b/airflow/api_user.go
index b0873bc..e98fb79 100644
--- a/airflow/api_user.go
+++ b/airflow/api_user.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // UserApiService UserApi service
 type UserApiService service
 
-type ApiDeleteUserRequest struct {
+type UserApiApiDeleteUserRequest struct {
 	ctx _context.Context
 	ApiService *UserApiService
 	username string
 }
 
 
-func (r ApiDeleteUserRequest) Execute() (*_nethttp.Response, error) {
+func (r UserApiApiDeleteUserRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeleteUserExecute(r)
 }
 
@@ -66,10 +66,10 @@ Delete a user with a specific username.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param username The username of the user.  *New in version 2.1.0* 
- @return ApiDeleteUserRequest
+ @return UserApiApiDeleteUserRequest
 */
-func (a *UserApiService) DeleteUser(ctx _context.Context, username string) ApiDeleteUserRequest {
-	return ApiDeleteUserRequest{
+func (a *UserApiService) DeleteUser(ctx _context.Context, username string) UserApiApiDeleteUserRequest {
+	return UserApiApiDeleteUserRequest{
 		ApiService: a,
 		ctx: ctx,
 		username: username,
@@ -77,7 +77,7 @@ func (a *UserApiService) DeleteUser(ctx _context.Context, username string) ApiDe
 }
 
 // Execute executes the request
-func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*_nethttp.Response, error) {
+func (a *UserApiService) DeleteUserExecute(r UserApiApiDeleteUserRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -182,14 +182,14 @@ func (a *UserApiService) DeleteUserExecute(r ApiDeleteUserRequest) (*_nethttp.Re
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetUserRequest struct {
+type UserApiApiGetUserRequest struct {
 	ctx _context.Context
 	ApiService *UserApiService
 	username string
 }
 
 
-func (r ApiGetUserRequest) Execute() (UserCollectionItem, *_nethttp.Response, error) {
+func (r UserApiApiGetUserRequest) Execute() (UserCollectionItem, *_nethttp.Response, error) {
 	return r.ApiService.GetUserExecute(r)
 }
 
@@ -203,10 +203,10 @@ Get a user with a specific username.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param username The username of the user.  *New in version 2.1.0* 
- @return ApiGetUserRequest
+ @return UserApiApiGetUserRequest
 */
-func (a *UserApiService) GetUser(ctx _context.Context, username string) ApiGetUserRequest {
-	return ApiGetUserRequest{
+func (a *UserApiService) GetUser(ctx _context.Context, username string) UserApiApiGetUserRequest {
+	return UserApiApiGetUserRequest{
 		ApiService: a,
 		ctx: ctx,
 		username: username,
@@ -215,7 +215,7 @@ func (a *UserApiService) GetUser(ctx _context.Context, username string) ApiGetUs
 
 // Execute executes the request
 //  @return UserCollectionItem
-func (a *UserApiService) GetUserExecute(r ApiGetUserRequest) (UserCollectionItem, *_nethttp.Response, error) {
+func (a *UserApiService) GetUserExecute(r UserApiApiGetUserRequest) (UserCollectionItem, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -320,7 +320,7 @@ func (a *UserApiService) GetUserExecute(r ApiGetUserRequest) (UserCollectionItem
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetUsersRequest struct {
+type UserApiApiGetUsersRequest struct {
 	ctx _context.Context
 	ApiService *UserApiService
 	limit *int32
@@ -329,22 +329,22 @@ type ApiGetUsersRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetUsersRequest) Limit(limit int32) ApiGetUsersRequest {
+func (r UserApiApiGetUsersRequest) Limit(limit int32) UserApiApiGetUsersRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetUsersRequest) Offset(offset int32) ApiGetUsersRequest {
+func (r UserApiApiGetUsersRequest) Offset(offset int32) UserApiApiGetUsersRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetUsersRequest) OrderBy(orderBy string) ApiGetUsersRequest {
+func (r UserApiApiGetUsersRequest) OrderBy(orderBy string) UserApiApiGetUsersRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetUsersRequest) Execute() (UserCollection, *_nethttp.Response, error) {
+func (r UserApiApiGetUsersRequest) Execute() (UserCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetUsersExecute(r)
 }
 
@@ -357,10 +357,10 @@ Get a list of users.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetUsersRequest
+ @return UserApiApiGetUsersRequest
 */
-func (a *UserApiService) GetUsers(ctx _context.Context) ApiGetUsersRequest {
-	return ApiGetUsersRequest{
+func (a *UserApiService) GetUsers(ctx _context.Context) UserApiApiGetUsersRequest {
+	return UserApiApiGetUsersRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -368,7 +368,7 @@ func (a *UserApiService) GetUsers(ctx _context.Context) ApiGetUsersRequest {
 
 // Execute executes the request
 //  @return UserCollection
-func (a *UserApiService) GetUsersExecute(r ApiGetUsersRequest) (UserCollection, *_nethttp.Response, error) {
+func (a *UserApiService) GetUsersExecute(r UserApiApiGetUsersRequest) (UserCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -471,7 +471,7 @@ func (a *UserApiService) GetUsersExecute(r ApiGetUsersRequest) (UserCollection,
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchUserRequest struct {
+type UserApiApiPatchUserRequest struct {
 	ctx _context.Context
 	ApiService *UserApiService
 	username string
@@ -479,17 +479,17 @@ type ApiPatchUserRequest struct {
 	updateMask *[]string
 }
 
-func (r ApiPatchUserRequest) User(user User) ApiPatchUserRequest {
+func (r UserApiApiPatchUserRequest) User(user User) UserApiApiPatchUserRequest {
 	r.user = &user
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchUserRequest) UpdateMask(updateMask []string) ApiPatchUserRequest {
+func (r UserApiApiPatchUserRequest) UpdateMask(updateMask []string) UserApiApiPatchUserRequest {
 	r.updateMask = &updateMask
 	return r
 }
 
-func (r ApiPatchUserRequest) Execute() (Role, *_nethttp.Response, error) {
+func (r UserApiApiPatchUserRequest) Execute() (Role, *_nethttp.Response, error) {
 	return r.ApiService.PatchUserExecute(r)
 }
 
@@ -503,10 +503,10 @@ Update fields for a user.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param username The username of the user.  *New in version 2.1.0* 
- @return ApiPatchUserRequest
+ @return UserApiApiPatchUserRequest
 */
-func (a *UserApiService) PatchUser(ctx _context.Context, username string) ApiPatchUserRequest {
-	return ApiPatchUserRequest{
+func (a *UserApiService) PatchUser(ctx _context.Context, username string) UserApiApiPatchUserRequest {
+	return UserApiApiPatchUserRequest{
 		ApiService: a,
 		ctx: ctx,
 		username: username,
@@ -515,7 +515,7 @@ func (a *UserApiService) PatchUser(ctx _context.Context, username string) ApiPat
 
 // Execute executes the request
 //  @return Role
-func (a *UserApiService) PatchUserExecute(r ApiPatchUserRequest) (Role, *_nethttp.Response, error) {
+func (a *UserApiService) PatchUserExecute(r UserApiApiPatchUserRequest) (Role, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -638,18 +638,18 @@ func (a *UserApiService) PatchUserExecute(r ApiPatchUserRequest) (Role, *_nethtt
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostUserRequest struct {
+type UserApiApiPostUserRequest struct {
 	ctx _context.Context
 	ApiService *UserApiService
 	user *User
 }
 
-func (r ApiPostUserRequest) User(user User) ApiPostUserRequest {
+func (r UserApiApiPostUserRequest) User(user User) UserApiApiPostUserRequest {
 	r.user = &user
 	return r
 }
 
-func (r ApiPostUserRequest) Execute() (User, *_nethttp.Response, error) {
+func (r UserApiApiPostUserRequest) Execute() (User, *_nethttp.Response, error) {
 	return r.ApiService.PostUserExecute(r)
 }
 
@@ -662,10 +662,10 @@ Create a new user with unique username and email.
 
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPostUserRequest
+ @return UserApiApiPostUserRequest
 */
-func (a *UserApiService) PostUser(ctx _context.Context) ApiPostUserRequest {
-	return ApiPostUserRequest{
+func (a *UserApiService) PostUser(ctx _context.Context) UserApiApiPostUserRequest {
+	return UserApiApiPostUserRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -673,7 +673,7 @@ func (a *UserApiService) PostUser(ctx _context.Context) ApiPostUserRequest {
 
 // Execute executes the request
 //  @return User
-func (a *UserApiService) PostUserExecute(r ApiPostUserRequest) (User, *_nethttp.Response, error) {
+func (a *UserApiService) PostUserExecute(r UserApiApiPostUserRequest) (User, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
diff --git a/airflow/api_variable.go b/airflow/api_variable.go
index f0f35f9..f9acf87 100644
--- a/airflow/api_variable.go
+++ b/airflow/api_variable.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,14 +45,14 @@ var (
 // VariableApiService VariableApi service
 type VariableApiService service
 
-type ApiDeleteVariableRequest struct {
+type VariableApiApiDeleteVariableRequest struct {
 	ctx _context.Context
 	ApiService *VariableApiService
 	variableKey string
 }
 
 
-func (r ApiDeleteVariableRequest) Execute() (*_nethttp.Response, error) {
+func (r VariableApiApiDeleteVariableRequest) Execute() (*_nethttp.Response, error) {
 	return r.ApiService.DeleteVariableExecute(r)
 }
 
@@ -61,10 +61,10 @@ DeleteVariable Delete a variable
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param variableKey The variable Key.
- @return ApiDeleteVariableRequest
+ @return VariableApiApiDeleteVariableRequest
 */
-func (a *VariableApiService) DeleteVariable(ctx _context.Context, variableKey string) ApiDeleteVariableRequest {
-	return ApiDeleteVariableRequest{
+func (a *VariableApiService) DeleteVariable(ctx _context.Context, variableKey string) VariableApiApiDeleteVariableRequest {
+	return VariableApiApiDeleteVariableRequest{
 		ApiService: a,
 		ctx: ctx,
 		variableKey: variableKey,
@@ -72,7 +72,7 @@ func (a *VariableApiService) DeleteVariable(ctx _context.Context, variableKey st
 }
 
 // Execute executes the request
-func (a *VariableApiService) DeleteVariableExecute(r ApiDeleteVariableRequest) (*_nethttp.Response, error) {
+func (a *VariableApiService) DeleteVariableExecute(r VariableApiApiDeleteVariableRequest) (*_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodDelete
 		localVarPostBody     interface{}
@@ -177,14 +177,14 @@ func (a *VariableApiService) DeleteVariableExecute(r ApiDeleteVariableRequest) (
 	return localVarHTTPResponse, nil
 }
 
-type ApiGetVariableRequest struct {
+type VariableApiApiGetVariableRequest struct {
 	ctx _context.Context
 	ApiService *VariableApiService
 	variableKey string
 }
 
 
-func (r ApiGetVariableRequest) Execute() (Variable, *_nethttp.Response, error) {
+func (r VariableApiApiGetVariableRequest) Execute() (Variable, *_nethttp.Response, error) {
 	return r.ApiService.GetVariableExecute(r)
 }
 
@@ -195,10 +195,10 @@ Get a variable by key.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param variableKey The variable Key.
- @return ApiGetVariableRequest
+ @return VariableApiApiGetVariableRequest
 */
-func (a *VariableApiService) GetVariable(ctx _context.Context, variableKey string) ApiGetVariableRequest {
-	return ApiGetVariableRequest{
+func (a *VariableApiService) GetVariable(ctx _context.Context, variableKey string) VariableApiApiGetVariableRequest {
+	return VariableApiApiGetVariableRequest{
 		ApiService: a,
 		ctx: ctx,
 		variableKey: variableKey,
@@ -207,7 +207,7 @@ func (a *VariableApiService) GetVariable(ctx _context.Context, variableKey strin
 
 // Execute executes the request
 //  @return Variable
-func (a *VariableApiService) GetVariableExecute(r ApiGetVariableRequest) (Variable, *_nethttp.Response, error) {
+func (a *VariableApiService) GetVariableExecute(r VariableApiApiGetVariableRequest) (Variable, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -312,7 +312,7 @@ func (a *VariableApiService) GetVariableExecute(r ApiGetVariableRequest) (Variab
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetVariablesRequest struct {
+type VariableApiApiGetVariablesRequest struct {
 	ctx _context.Context
 	ApiService *VariableApiService
 	limit *int32
@@ -321,22 +321,22 @@ type ApiGetVariablesRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetVariablesRequest) Limit(limit int32) ApiGetVariablesRequest {
+func (r VariableApiApiGetVariablesRequest) Limit(limit int32) VariableApiApiGetVariablesRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetVariablesRequest) Offset(offset int32) ApiGetVariablesRequest {
+func (r VariableApiApiGetVariablesRequest) Offset(offset int32) VariableApiApiGetVariablesRequest {
 	r.offset = &offset
 	return r
 }
 // The name of the field to order the results by. Prefix a field name with &#x60;-&#x60; to reverse the sort order.  *New in version 2.1.0* 
-func (r ApiGetVariablesRequest) OrderBy(orderBy string) ApiGetVariablesRequest {
+func (r VariableApiApiGetVariablesRequest) OrderBy(orderBy string) VariableApiApiGetVariablesRequest {
 	r.orderBy = &orderBy
 	return r
 }
 
-func (r ApiGetVariablesRequest) Execute() (VariableCollection, *_nethttp.Response, error) {
+func (r VariableApiApiGetVariablesRequest) Execute() (VariableCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetVariablesExecute(r)
 }
 
@@ -346,10 +346,10 @@ GetVariables List variables
 The collection does not contain data. To get data, you must get a single entity.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiGetVariablesRequest
+ @return VariableApiApiGetVariablesRequest
 */
-func (a *VariableApiService) GetVariables(ctx _context.Context) ApiGetVariablesRequest {
-	return ApiGetVariablesRequest{
+func (a *VariableApiService) GetVariables(ctx _context.Context) VariableApiApiGetVariablesRequest {
+	return VariableApiApiGetVariablesRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -357,7 +357,7 @@ func (a *VariableApiService) GetVariables(ctx _context.Context) ApiGetVariablesR
 
 // Execute executes the request
 //  @return VariableCollection
-func (a *VariableApiService) GetVariablesExecute(r ApiGetVariablesRequest) (VariableCollection, *_nethttp.Response, error) {
+func (a *VariableApiService) GetVariablesExecute(r VariableApiApiGetVariablesRequest) (VariableCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -460,7 +460,7 @@ func (a *VariableApiService) GetVariablesExecute(r ApiGetVariablesRequest) (Vari
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPatchVariableRequest struct {
+type VariableApiApiPatchVariableRequest struct {
 	ctx _context.Context
 	ApiService *VariableApiService
 	variableKey string
@@ -468,17 +468,17 @@ type ApiPatchVariableRequest struct {
 	updateMask *[]string
 }
 
-func (r ApiPatchVariableRequest) Variable(variable Variable) ApiPatchVariableRequest {
+func (r VariableApiApiPatchVariableRequest) Variable(variable Variable) VariableApiApiPatchVariableRequest {
 	r.variable = &variable
 	return r
 }
 // The fields to update on the resource. If absent or empty, all modifiable fields are updated. A comma-separated list of fully qualified names of fields. 
-func (r ApiPatchVariableRequest) UpdateMask(updateMask []string) ApiPatchVariableRequest {
+func (r VariableApiApiPatchVariableRequest) UpdateMask(updateMask []string) VariableApiApiPatchVariableRequest {
 	r.updateMask = &updateMask
 	return r
 }
 
-func (r ApiPatchVariableRequest) Execute() (Variable, *_nethttp.Response, error) {
+func (r VariableApiApiPatchVariableRequest) Execute() (Variable, *_nethttp.Response, error) {
 	return r.ApiService.PatchVariableExecute(r)
 }
 
@@ -489,10 +489,10 @@ Update a variable by key.
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
  @param variableKey The variable Key.
- @return ApiPatchVariableRequest
+ @return VariableApiApiPatchVariableRequest
 */
-func (a *VariableApiService) PatchVariable(ctx _context.Context, variableKey string) ApiPatchVariableRequest {
-	return ApiPatchVariableRequest{
+func (a *VariableApiService) PatchVariable(ctx _context.Context, variableKey string) VariableApiApiPatchVariableRequest {
+	return VariableApiApiPatchVariableRequest{
 		ApiService: a,
 		ctx: ctx,
 		variableKey: variableKey,
@@ -501,7 +501,7 @@ func (a *VariableApiService) PatchVariable(ctx _context.Context, variableKey str
 
 // Execute executes the request
 //  @return Variable
-func (a *VariableApiService) PatchVariableExecute(r ApiPatchVariableRequest) (Variable, *_nethttp.Response, error) {
+func (a *VariableApiService) PatchVariableExecute(r VariableApiApiPatchVariableRequest) (Variable, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPatch
 		localVarPostBody     interface{}
@@ -624,18 +624,18 @@ func (a *VariableApiService) PatchVariableExecute(r ApiPatchVariableRequest) (Va
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiPostVariablesRequest struct {
+type VariableApiApiPostVariablesRequest struct {
 	ctx _context.Context
 	ApiService *VariableApiService
 	variable *Variable
 }
 
-func (r ApiPostVariablesRequest) Variable(variable Variable) ApiPostVariablesRequest {
+func (r VariableApiApiPostVariablesRequest) Variable(variable Variable) VariableApiApiPostVariablesRequest {
 	r.variable = &variable
 	return r
 }
 
-func (r ApiPostVariablesRequest) Execute() (Variable, *_nethttp.Response, error) {
+func (r VariableApiApiPostVariablesRequest) Execute() (Variable, *_nethttp.Response, error) {
 	return r.ApiService.PostVariablesExecute(r)
 }
 
@@ -643,10 +643,10 @@ func (r ApiPostVariablesRequest) Execute() (Variable, *_nethttp.Response, error)
 PostVariables Create a variable
 
  @param ctx _context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @return ApiPostVariablesRequest
+ @return VariableApiApiPostVariablesRequest
 */
-func (a *VariableApiService) PostVariables(ctx _context.Context) ApiPostVariablesRequest {
-	return ApiPostVariablesRequest{
+func (a *VariableApiService) PostVariables(ctx _context.Context) VariableApiApiPostVariablesRequest {
+	return VariableApiApiPostVariablesRequest{
 		ApiService: a,
 		ctx: ctx,
 	}
@@ -654,7 +654,7 @@ func (a *VariableApiService) PostVariables(ctx _context.Context) ApiPostVariable
 
 // Execute executes the request
 //  @return Variable
-func (a *VariableApiService) PostVariablesExecute(r ApiPostVariablesRequest) (Variable, *_nethttp.Response, error) {
+func (a *VariableApiService) PostVariablesExecute(r VariableApiApiPostVariablesRequest) (Variable, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodPost
 		localVarPostBody     interface{}
diff --git a/airflow/api_x_com.go b/airflow/api_x_com.go
index 4ca90fe..94ad07c 100644
--- a/airflow/api_x_com.go
+++ b/airflow/api_x_com.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -45,7 +45,7 @@ var (
 // XComApiService XComApi service
 type XComApiService service
 
-type ApiGetXcomEntriesRequest struct {
+type XComApiApiGetXcomEntriesRequest struct {
 	ctx _context.Context
 	ApiService *XComApiService
 	dagId string
@@ -56,17 +56,17 @@ type ApiGetXcomEntriesRequest struct {
 }
 
 // The numbers of items to return.
-func (r ApiGetXcomEntriesRequest) Limit(limit int32) ApiGetXcomEntriesRequest {
+func (r XComApiApiGetXcomEntriesRequest) Limit(limit int32) XComApiApiGetXcomEntriesRequest {
 	r.limit = &limit
 	return r
 }
 // The number of items to skip before starting to collect the result set.
-func (r ApiGetXcomEntriesRequest) Offset(offset int32) ApiGetXcomEntriesRequest {
+func (r XComApiApiGetXcomEntriesRequest) Offset(offset int32) XComApiApiGetXcomEntriesRequest {
 	r.offset = &offset
 	return r
 }
 
-func (r ApiGetXcomEntriesRequest) Execute() (XComCollection, *_nethttp.Response, error) {
+func (r XComApiApiGetXcomEntriesRequest) Execute() (XComCollection, *_nethttp.Response, error) {
 	return r.ApiService.GetXcomEntriesExecute(r)
 }
 
@@ -79,10 +79,10 @@ This endpoint allows specifying `~` as the dag_id, dag_run_id, task_id to retrie
  @param dagId The DAG ID.
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
- @return ApiGetXcomEntriesRequest
+ @return XComApiApiGetXcomEntriesRequest
 */
-func (a *XComApiService) GetXcomEntries(ctx _context.Context, dagId string, dagRunId string, taskId string) ApiGetXcomEntriesRequest {
-	return ApiGetXcomEntriesRequest{
+func (a *XComApiService) GetXcomEntries(ctx _context.Context, dagId string, dagRunId string, taskId string) XComApiApiGetXcomEntriesRequest {
+	return XComApiApiGetXcomEntriesRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -93,7 +93,7 @@ func (a *XComApiService) GetXcomEntries(ctx _context.Context, dagId string, dagR
 
 // Execute executes the request
 //  @return XComCollection
-func (a *XComApiService) GetXcomEntriesExecute(r ApiGetXcomEntriesRequest) (XComCollection, *_nethttp.Response, error) {
+func (a *XComApiService) GetXcomEntriesExecute(r XComApiApiGetXcomEntriesRequest) (XComCollection, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -196,17 +196,23 @@ func (a *XComApiService) GetXcomEntriesExecute(r ApiGetXcomEntriesRequest) (XCom
 	return localVarReturnValue, localVarHTTPResponse, nil
 }
 
-type ApiGetXcomEntryRequest struct {
+type XComApiApiGetXcomEntryRequest struct {
 	ctx _context.Context
 	ApiService *XComApiService
 	dagId string
 	dagRunId string
 	taskId string
 	xcomKey string
+	deserialize *bool
 }
 
+// Whether to deserialize an XCom value when using a custom XCom backend.  The XCom API endpoint calls &#x60;orm_deserialize_value&#x60; by default since an XCom may contain value that is potentially expensive to deserialize in the web server. Setting this to true overrides the consideration, and calls &#x60;deserialize_value&#x60; instead.  This parameter is not meaningful when using the default XCom backend.  *New in version 2.4.0* 
+func (r XComApiApiGetXcomEntryRequest) Deserialize(deserialize bool) XComApiApiGetXcomEntryRequest {
+	r.deserialize = &deserialize
+	return r
+}
 
-func (r ApiGetXcomEntryRequest) Execute() (XCom, *_nethttp.Response, error) {
+func (r XComApiApiGetXcomEntryRequest) Execute() (XCom, *_nethttp.Response, error) {
 	return r.ApiService.GetXcomEntryExecute(r)
 }
 
@@ -218,10 +224,10 @@ GetXcomEntry Get an XCom entry
  @param dagRunId The DAG run ID.
  @param taskId The task ID.
  @param xcomKey The XCom key.
- @return ApiGetXcomEntryRequest
+ @return XComApiApiGetXcomEntryRequest
 */
-func (a *XComApiService) GetXcomEntry(ctx _context.Context, dagId string, dagRunId string, taskId string, xcomKey string) ApiGetXcomEntryRequest {
-	return ApiGetXcomEntryRequest{
+func (a *XComApiService) GetXcomEntry(ctx _context.Context, dagId string, dagRunId string, taskId string, xcomKey string) XComApiApiGetXcomEntryRequest {
+	return XComApiApiGetXcomEntryRequest{
 		ApiService: a,
 		ctx: ctx,
 		dagId: dagId,
@@ -233,7 +239,7 @@ func (a *XComApiService) GetXcomEntry(ctx _context.Context, dagId string, dagRun
 
 // Execute executes the request
 //  @return XCom
-func (a *XComApiService) GetXcomEntryExecute(r ApiGetXcomEntryRequest) (XCom, *_nethttp.Response, error) {
+func (a *XComApiService) GetXcomEntryExecute(r XComApiApiGetXcomEntryRequest) (XCom, *_nethttp.Response, error) {
 	var (
 		localVarHTTPMethod   = _nethttp.MethodGet
 		localVarPostBody     interface{}
@@ -258,6 +264,9 @@ func (a *XComApiService) GetXcomEntryExecute(r ApiGetXcomEntryRequest) (XCom, *_
 	localVarQueryParams := _neturl.Values{}
 	localVarFormParams := _neturl.Values{}
 
+	if r.deserialize != nil {
+		localVarQueryParams.Add("deserialize", parameterToString(*r.deserialize, ""))
+	}
 	// to determine the Content-Type header
 	localVarHTTPContentTypes := []string{}
 
diff --git a/airflow/client.go b/airflow/client.go
index 38785fb..9566a78 100644
--- a/airflow/client.go
+++ b/airflow/client.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -59,7 +59,7 @@ var (
 	xmlCheck  = regexp.MustCompile(`(?i:(?:application|text)/xml)`)
 )
 
-// APIClient manages communication with the Airflow API (Stable) API v1.0.0
+// APIClient manages communication with the Airflow API (Stable) API v2.5.0
 // In most cases there should be only one, shared, APIClient.
 type APIClient struct {
 	cfg    *Configuration
@@ -75,6 +75,10 @@ type APIClient struct {
 
 	DAGRunApi *DAGRunApiService
 
+	DagWarningApi *DagWarningApiService
+
+	DatasetApi *DatasetApiService
+
 	EventLogApi *EventLogApiService
 
 	ImportErrorApi *ImportErrorApiService
@@ -120,6 +124,8 @@ func NewAPIClient(cfg *Configuration) *APIClient {
 	c.ConnectionApi = (*ConnectionApiService)(&c.common)
 	c.DAGApi = (*DAGApiService)(&c.common)
 	c.DAGRunApi = (*DAGRunApiService)(&c.common)
+	c.DagWarningApi = (*DagWarningApiService)(&c.common)
+	c.DatasetApi = (*DatasetApiService)(&c.common)
 	c.EventLogApi = (*EventLogApiService)(&c.common)
 	c.ImportErrorApi = (*ImportErrorApiService)(&c.common)
 	c.MonitoringApi = (*MonitoringApiService)(&c.common)
diff --git a/airflow/configuration.go b/airflow/configuration.go
index a15cb58..baaccec 100644
--- a/airflow/configuration.go
+++ b/airflow/configuration.go
@@ -20,7 +20,7 @@ Airflow API (Stable)
 
 # Overview  To facilitate management, Apache Airflow supports a range of REST API endpoints across its objects. This section provides an overview of the API design, methods, and supported use cases.  Most of the endpoints accept `JSON` as input and return `JSON` responses. This means that you must usually add the following headers to your request: ``` Content-type: application/json Accept: application/json ```  ## Resources  The term `resource` refers to a single type of object in the Ai [...]
 
-API version: 1.0.0
+API version: 2.5.0
 Contact: dev@airflow.apache.org
 */
 
@@ -119,7 +119,7 @@ type Configuration struct {
 func NewConfiguration() *Configuration {
 	cfg := &Configuration{
 		DefaultHeader:    make(map[string]string),
-		UserAgent:        "OpenAPI-Generator/2.1.0/go",
+		UserAgent:        "OpenAPI-Generator/2.5.0/go",
 		Debug:            false,
 		Servers:          ServerConfigurations{
 			{
diff --git a/airflow/docs/BasicDAGRun.md b/airflow/docs/BasicDAGRun.md
new file mode 100644
index 0000000..30cf805
--- /dev/null
+++ b/airflow/docs/BasicDAGRun.md
@@ -0,0 +1,297 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+# BasicDAGRun
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**RunId** | Pointer to **string** | Run ID.  | [optional] 
+**DagId** | Pointer to **string** |  | [optional] [readonly] 
+**LogicalDate** | Pointer to **time.Time** | The logical date (previously called execution date). This is the time or interval covered by this DAG run, according to the DAG definition.  The value of this field can be set only when creating the object. If you try to modify the field of an existing object, the request fails with an BAD_REQUEST error.  This together with DAG_ID are a unique key.  *New in version 2.2.0*  | [optional] 
+**StartDate** | Pointer to **NullableTime** | The start time. The time when DAG run was actually created.  *Changed in version 2.1.3*&amp;#58; Field becomes nullable.  | [optional] [readonly] 
+**EndDate** | Pointer to **NullableTime** |  | [optional] [readonly] 
+**DataIntervalStart** | Pointer to **NullableTime** |  | [optional] [readonly] 
+**DataIntervalEnd** | Pointer to **NullableTime** |  | [optional] [readonly] 
+**State** | Pointer to [**DagState**](DagState.md) |  | [optional] 
+
+## Methods
+
+### NewBasicDAGRun
+
+`func NewBasicDAGRun() *BasicDAGRun`
+
+NewBasicDAGRun instantiates a new BasicDAGRun object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewBasicDAGRunWithDefaults
+
+`func NewBasicDAGRunWithDefaults() *BasicDAGRun`
+
+NewBasicDAGRunWithDefaults instantiates a new BasicDAGRun object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetRunId
+
+`func (o *BasicDAGRun) GetRunId() string`
+
+GetRunId returns the RunId field if non-nil, zero value otherwise.
+
+### GetRunIdOk
+
+`func (o *BasicDAGRun) GetRunIdOk() (*string, bool)`
+
+GetRunIdOk returns a tuple with the RunId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetRunId
+
+`func (o *BasicDAGRun) SetRunId(v string)`
+
+SetRunId sets RunId field to given value.
+
+### HasRunId
+
+`func (o *BasicDAGRun) HasRunId() bool`
+
+HasRunId returns a boolean if a field has been set.
+
+### GetDagId
+
+`func (o *BasicDAGRun) GetDagId() string`
+
+GetDagId returns the DagId field if non-nil, zero value otherwise.
+
+### GetDagIdOk
+
+`func (o *BasicDAGRun) GetDagIdOk() (*string, bool)`
+
+GetDagIdOk returns a tuple with the DagId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDagId
+
+`func (o *BasicDAGRun) SetDagId(v string)`
+
+SetDagId sets DagId field to given value.
+
+### HasDagId
+
+`func (o *BasicDAGRun) HasDagId() bool`
+
+HasDagId returns a boolean if a field has been set.
+
+### GetLogicalDate
+
+`func (o *BasicDAGRun) GetLogicalDate() time.Time`
+
+GetLogicalDate returns the LogicalDate field if non-nil, zero value otherwise.
+
+### GetLogicalDateOk
+
+`func (o *BasicDAGRun) GetLogicalDateOk() (*time.Time, bool)`
+
+GetLogicalDateOk returns a tuple with the LogicalDate field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetLogicalDate
+
+`func (o *BasicDAGRun) SetLogicalDate(v time.Time)`
+
+SetLogicalDate sets LogicalDate field to given value.
+
+### HasLogicalDate
+
+`func (o *BasicDAGRun) HasLogicalDate() bool`
+
+HasLogicalDate returns a boolean if a field has been set.
+
+### GetStartDate
+
+`func (o *BasicDAGRun) GetStartDate() time.Time`
+
+GetStartDate returns the StartDate field if non-nil, zero value otherwise.
+
+### GetStartDateOk
+
+`func (o *BasicDAGRun) GetStartDateOk() (*time.Time, bool)`
+
+GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetStartDate
+
+`func (o *BasicDAGRun) SetStartDate(v time.Time)`
+
+SetStartDate sets StartDate field to given value.
+
+### HasStartDate
+
+`func (o *BasicDAGRun) HasStartDate() bool`
+
+HasStartDate returns a boolean if a field has been set.
+
+### SetStartDateNil
+
+`func (o *BasicDAGRun) SetStartDateNil(b bool)`
+
+ SetStartDateNil sets the value for StartDate to be an explicit nil
+
+### UnsetStartDate
+`func (o *BasicDAGRun) UnsetStartDate()`
+
+UnsetStartDate ensures that no value is present for StartDate, not even an explicit nil
+### GetEndDate
+
+`func (o *BasicDAGRun) GetEndDate() time.Time`
+
+GetEndDate returns the EndDate field if non-nil, zero value otherwise.
+
+### GetEndDateOk
+
+`func (o *BasicDAGRun) GetEndDateOk() (*time.Time, bool)`
+
+GetEndDateOk returns a tuple with the EndDate field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEndDate
+
+`func (o *BasicDAGRun) SetEndDate(v time.Time)`
+
+SetEndDate sets EndDate field to given value.
+
+### HasEndDate
+
+`func (o *BasicDAGRun) HasEndDate() bool`
+
+HasEndDate returns a boolean if a field has been set.
+
+### SetEndDateNil
+
+`func (o *BasicDAGRun) SetEndDateNil(b bool)`
+
+ SetEndDateNil sets the value for EndDate to be an explicit nil
+
+### UnsetEndDate
+`func (o *BasicDAGRun) UnsetEndDate()`
+
+UnsetEndDate ensures that no value is present for EndDate, not even an explicit nil
+### GetDataIntervalStart
+
+`func (o *BasicDAGRun) GetDataIntervalStart() time.Time`
+
+GetDataIntervalStart returns the DataIntervalStart field if non-nil, zero value otherwise.
+
+### GetDataIntervalStartOk
+
+`func (o *BasicDAGRun) GetDataIntervalStartOk() (*time.Time, bool)`
+
+GetDataIntervalStartOk returns a tuple with the DataIntervalStart field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDataIntervalStart
+
+`func (o *BasicDAGRun) SetDataIntervalStart(v time.Time)`
+
+SetDataIntervalStart sets DataIntervalStart field to given value.
+
+### HasDataIntervalStart
+
+`func (o *BasicDAGRun) HasDataIntervalStart() bool`
+
+HasDataIntervalStart returns a boolean if a field has been set.
+
+### SetDataIntervalStartNil
+
+`func (o *BasicDAGRun) SetDataIntervalStartNil(b bool)`
+
+ SetDataIntervalStartNil sets the value for DataIntervalStart to be an explicit nil
+
+### UnsetDataIntervalStart
+`func (o *BasicDAGRun) UnsetDataIntervalStart()`
+
+UnsetDataIntervalStart ensures that no value is present for DataIntervalStart, not even an explicit nil
+### GetDataIntervalEnd
+
+`func (o *BasicDAGRun) GetDataIntervalEnd() time.Time`
+
+GetDataIntervalEnd returns the DataIntervalEnd field if non-nil, zero value otherwise.
+
+### GetDataIntervalEndOk
+
+`func (o *BasicDAGRun) GetDataIntervalEndOk() (*time.Time, bool)`
+
+GetDataIntervalEndOk returns a tuple with the DataIntervalEnd field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDataIntervalEnd
+
+`func (o *BasicDAGRun) SetDataIntervalEnd(v time.Time)`
+
+SetDataIntervalEnd sets DataIntervalEnd field to given value.
+
+### HasDataIntervalEnd
+
+`func (o *BasicDAGRun) HasDataIntervalEnd() bool`
+
+HasDataIntervalEnd returns a boolean if a field has been set.
+
+### SetDataIntervalEndNil
+
+`func (o *BasicDAGRun) SetDataIntervalEndNil(b bool)`
+
+ SetDataIntervalEndNil sets the value for DataIntervalEnd to be an explicit nil
+
+### UnsetDataIntervalEnd
+`func (o *BasicDAGRun) UnsetDataIntervalEnd()`
+
+UnsetDataIntervalEnd ensures that no value is present for DataIntervalEnd, not even an explicit nil
+### GetState
+
+`func (o *BasicDAGRun) GetState() DagState`
+
+GetState returns the State field if non-nil, zero value otherwise.
+
+### GetStateOk
+
+`func (o *BasicDAGRun) GetStateOk() (*DagState, bool)`
+
+GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetState
+
+`func (o *BasicDAGRun) SetState(v DagState)`
+
+SetState sets State field to given value.
+
+### HasState
+
+`func (o *BasicDAGRun) HasState() bool`
+
+HasState returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/airflow/docs/VariableCollectionItem.md b/airflow/docs/ClearDagRun.md
similarity index 60%
copy from airflow/docs/VariableCollectionItem.md
copy to airflow/docs/ClearDagRun.md
index 97df180..366f798 100644
--- a/airflow/docs/VariableCollectionItem.md
+++ b/airflow/docs/ClearDagRun.md
@@ -17,57 +17,57 @@
  under the License.
  -->
 
-# VariableCollectionItem
+# ClearDagRun
 
 ## Properties
 
 Name | Type | Description | Notes
 ------------ | ------------- | ------------- | -------------
-**Key** | Pointer to **string** |  | [optional] 
+**DryRun** | Pointer to **bool** | If set, don&#39;t actually run this operation. The response will contain a list of task instances planned to be cleaned, but not modified in any way.  | [optional] [default to true]
 
 ## Methods
 
-### NewVariableCollectionItem
+### NewClearDagRun
 
-`func NewVariableCollectionItem() *VariableCollectionItem`
+`func NewClearDagRun() *ClearDagRun`
 
-NewVariableCollectionItem instantiates a new VariableCollectionItem object
+NewClearDagRun instantiates a new ClearDagRun object
 This constructor will assign default values to properties that have it defined,
 and makes sure properties required by API are set, but the set of arguments
 will change when the set of required properties is changed
 
-### NewVariableCollectionItemWithDefaults
+### NewClearDagRunWithDefaults
 
-`func NewVariableCollectionItemWithDefaults() *VariableCollectionItem`
+`func NewClearDagRunWithDefaults() *ClearDagRun`
 
-NewVariableCollectionItemWithDefaults instantiates a new VariableCollectionItem object
+NewClearDagRunWithDefaults instantiates a new ClearDagRun object
 This constructor will only assign default values to properties that have it defined,
 but it doesn't guarantee that properties required by API are set
 
-### GetKey
+### GetDryRun
 
-`func (o *VariableCollectionItem) GetKey() string`
+`func (o *ClearDagRun) GetDryRun() bool`
 
-GetKey returns the Key field if non-nil, zero value otherwise.
+GetDryRun returns the DryRun field if non-nil, zero value otherwise.
 
-### GetKeyOk
+### GetDryRunOk
 
-`func (o *VariableCollectionItem) GetKeyOk() (*string, bool)`
+`func (o *ClearDagRun) GetDryRunOk() (*bool, bool)`
 
-GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise
+GetDryRunOk returns a tuple with the DryRun field if it's non-nil, zero value otherwise
 and a boolean to check if the value has been set.
 
-### SetKey
+### SetDryRun
 
-`func (o *VariableCollectionItem) SetKey(v string)`
+`func (o *ClearDagRun) SetDryRun(v bool)`
 
-SetKey sets Key field to given value.
+SetDryRun sets DryRun field to given value.
 
-### HasKey
+### HasDryRun
 
-`func (o *VariableCollectionItem) HasKey() bool`
+`func (o *ClearDagRun) HasDryRun() bool`
 
-HasKey returns a boolean if a field has been set.
+HasDryRun returns a boolean if a field has been set.
 
 
 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
diff --git a/airflow/docs/ClearTaskInstance.md b/airflow/docs/ClearTaskInstance.md
deleted file mode 100644
index 6d821fc..0000000
--- a/airflow/docs/ClearTaskInstance.md
+++ /dev/null
@@ -1,283 +0,0 @@
-<!--
- Licensed to the Apache Software Foundation (ASF) under one
- or more contributor license agreements.  See the NOTICE file
- distributed with this work for additional information
- regarding copyright ownership.  The ASF licenses this file
- to you under the Apache License, Version 2.0 (the
- "License"); you may not use this file except in compliance
- with the License.  You may obtain a copy of the License at
-
-   http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied.  See the License for the
- specific language governing permissions and limitations
- under the License.
- -->
-
-# ClearTaskInstance
-
-## Properties
-
-Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
-**DryRun** | Pointer to **bool** | If set, don&#39;t actually run this operation. The response will contain a list of task instances planned to be cleaned, but not modified in any way.  | [optional] [default to true]
-**TaskIds** | Pointer to **[]string** | A list of task ids to clear.  *New in version 2.1.0*  | [optional] 
-**StartDate** | Pointer to **string** | The minimum execution date to clear. | [optional] 
-**EndDate** | Pointer to **string** | The maximum execution date to clear. | [optional] 
-**OnlyFailed** | Pointer to **bool** | Only clear failed tasks. | [optional] [default to true]
-**OnlyRunning** | Pointer to **bool** | Only clear running tasks. | [optional] [default to false]
-**IncludeSubdags** | Pointer to **bool** | Clear tasks in subdags and clear external tasks indicated by ExternalTaskMarker. | [optional] 
-**IncludeParentdag** | Pointer to **bool** | Clear tasks in the parent dag of the subdag. | [optional] 
-**ResetDagRuns** | Pointer to **bool** | Set state of DAG runs to RUNNING. | [optional] 
-
-## Methods
-
-### NewClearTaskInstance
-
-`func NewClearTaskInstance() *ClearTaskInstance`
-
-NewClearTaskInstance instantiates a new ClearTaskInstance object
-This constructor will assign default values to properties that have it defined,
-and makes sure properties required by API are set, but the set of arguments
-will change when the set of required properties is changed
-
-### NewClearTaskInstanceWithDefaults
-
-`func NewClearTaskInstanceWithDefaults() *ClearTaskInstance`
-
-NewClearTaskInstanceWithDefaults instantiates a new ClearTaskInstance object
-This constructor will only assign default values to properties that have it defined,
-but it doesn't guarantee that properties required by API are set
-
-### GetDryRun
-
-`func (o *ClearTaskInstance) GetDryRun() bool`
-
-GetDryRun returns the DryRun field if non-nil, zero value otherwise.
-
-### GetDryRunOk
-
-`func (o *ClearTaskInstance) GetDryRunOk() (*bool, bool)`
-
-GetDryRunOk returns a tuple with the DryRun field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetDryRun
-
-`func (o *ClearTaskInstance) SetDryRun(v bool)`
-
-SetDryRun sets DryRun field to given value.
-
-### HasDryRun
-
-`func (o *ClearTaskInstance) HasDryRun() bool`
-
-HasDryRun returns a boolean if a field has been set.
-
-### GetTaskIds
-
-`func (o *ClearTaskInstance) GetTaskIds() []string`
-
-GetTaskIds returns the TaskIds field if non-nil, zero value otherwise.
-
-### GetTaskIdsOk
-
-`func (o *ClearTaskInstance) GetTaskIdsOk() (*[]string, bool)`
-
-GetTaskIdsOk returns a tuple with the TaskIds field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetTaskIds
-
-`func (o *ClearTaskInstance) SetTaskIds(v []string)`
-
-SetTaskIds sets TaskIds field to given value.
-
-### HasTaskIds
-
-`func (o *ClearTaskInstance) HasTaskIds() bool`
-
-HasTaskIds returns a boolean if a field has been set.
-
-### GetStartDate
-
-`func (o *ClearTaskInstance) GetStartDate() string`
-
-GetStartDate returns the StartDate field if non-nil, zero value otherwise.
-
-### GetStartDateOk
-
-`func (o *ClearTaskInstance) GetStartDateOk() (*string, bool)`
-
-GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetStartDate
-
-`func (o *ClearTaskInstance) SetStartDate(v string)`
-
-SetStartDate sets StartDate field to given value.
-
-### HasStartDate
-
-`func (o *ClearTaskInstance) HasStartDate() bool`
-
-HasStartDate returns a boolean if a field has been set.
-
-### GetEndDate
-
-`func (o *ClearTaskInstance) GetEndDate() string`
-
-GetEndDate returns the EndDate field if non-nil, zero value otherwise.
-
-### GetEndDateOk
-
-`func (o *ClearTaskInstance) GetEndDateOk() (*string, bool)`
-
-GetEndDateOk returns a tuple with the EndDate field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetEndDate
-
-`func (o *ClearTaskInstance) SetEndDate(v string)`
-
-SetEndDate sets EndDate field to given value.
-
-### HasEndDate
-
-`func (o *ClearTaskInstance) HasEndDate() bool`
-
-HasEndDate returns a boolean if a field has been set.
-
-### GetOnlyFailed
-
-`func (o *ClearTaskInstance) GetOnlyFailed() bool`
-
-GetOnlyFailed returns the OnlyFailed field if non-nil, zero value otherwise.
-
-### GetOnlyFailedOk
-
-`func (o *ClearTaskInstance) GetOnlyFailedOk() (*bool, bool)`
-
-GetOnlyFailedOk returns a tuple with the OnlyFailed field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOnlyFailed
-
-`func (o *ClearTaskInstance) SetOnlyFailed(v bool)`
-
-SetOnlyFailed sets OnlyFailed field to given value.
-
-### HasOnlyFailed
-
-`func (o *ClearTaskInstance) HasOnlyFailed() bool`
-
-HasOnlyFailed returns a boolean if a field has been set.
-
-### GetOnlyRunning
-
-`func (o *ClearTaskInstance) GetOnlyRunning() bool`
-
-GetOnlyRunning returns the OnlyRunning field if non-nil, zero value otherwise.
-
-### GetOnlyRunningOk
-
-`func (o *ClearTaskInstance) GetOnlyRunningOk() (*bool, bool)`
-
-GetOnlyRunningOk returns a tuple with the OnlyRunning field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetOnlyRunning
-
-`func (o *ClearTaskInstance) SetOnlyRunning(v bool)`
-
-SetOnlyRunning sets OnlyRunning field to given value.
-
-### HasOnlyRunning
-
-`func (o *ClearTaskInstance) HasOnlyRunning() bool`
-
-HasOnlyRunning returns a boolean if a field has been set.
-
-### GetIncludeSubdags
-
-`func (o *ClearTaskInstance) GetIncludeSubdags() bool`
-
-GetIncludeSubdags returns the IncludeSubdags field if non-nil, zero value otherwise.
-
-### GetIncludeSubdagsOk
-
-`func (o *ClearTaskInstance) GetIncludeSubdagsOk() (*bool, bool)`
-
-GetIncludeSubdagsOk returns a tuple with the IncludeSubdags field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIncludeSubdags
-
-`func (o *ClearTaskInstance) SetIncludeSubdags(v bool)`
-
-SetIncludeSubdags sets IncludeSubdags field to given value.
-
-### HasIncludeSubdags
-
-`func (o *ClearTaskInstance) HasIncludeSubdags() bool`
-
-HasIncludeSubdags returns a boolean if a field has been set.
-
-### GetIncludeParentdag
-
-`func (o *ClearTaskInstance) GetIncludeParentdag() bool`
-
-GetIncludeParentdag returns the IncludeParentdag field if non-nil, zero value otherwise.
-
-### GetIncludeParentdagOk
-
-`func (o *ClearTaskInstance) GetIncludeParentdagOk() (*bool, bool)`
-
-GetIncludeParentdagOk returns a tuple with the IncludeParentdag field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetIncludeParentdag
-
-`func (o *ClearTaskInstance) SetIncludeParentdag(v bool)`
-
-SetIncludeParentdag sets IncludeParentdag field to given value.
-
-### HasIncludeParentdag
-
-`func (o *ClearTaskInstance) HasIncludeParentdag() bool`
-
-HasIncludeParentdag returns a boolean if a field has been set.
-
-### GetResetDagRuns
-
-`func (o *ClearTaskInstance) GetResetDagRuns() bool`
-
-GetResetDagRuns returns the ResetDagRuns field if non-nil, zero value otherwise.
-
-### GetResetDagRunsOk
-
-`func (o *ClearTaskInstance) GetResetDagRunsOk() (*bool, bool)`
-
-GetResetDagRunsOk returns a tuple with the ResetDagRuns field if it's non-nil, zero value otherwise
-and a boolean to check if the value has been set.
-
-### SetResetDagRuns
-
-`func (o *ClearTaskInstance) SetResetDagRuns(v bool)`
-
-SetResetDagRuns sets ResetDagRuns field to given value.
-
-### HasResetDagRuns
-
-`func (o *ClearTaskInstance) HasResetDagRuns() bool`
-
-HasResetDagRuns returns a boolean if a field has been set.
-
-
-[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
-
-
diff --git a/airflow/docs/ClearTaskInstances.md b/airflow/docs/ClearTaskInstances.md
new file mode 100644
index 0000000..073a7aa
--- /dev/null
+++ b/airflow/docs/ClearTaskInstances.md
@@ -0,0 +1,423 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+# ClearTaskInstances
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DryRun** | Pointer to **bool** | If set, don&#39;t actually run this operation. The response will contain a list of task instances planned to be cleaned, but not modified in any way.  | [optional] [default to true]
+**TaskIds** | Pointer to **[]string** | A list of task ids to clear.  *New in version 2.1.0*  | [optional] 
+**StartDate** | Pointer to **string** | The minimum execution date to clear. | [optional] 
+**EndDate** | Pointer to **string** | The maximum execution date to clear. | [optional] 
+**OnlyFailed** | Pointer to **bool** | Only clear failed tasks. | [optional] [default to true]
+**OnlyRunning** | Pointer to **bool** | Only clear running tasks. | [optional] [default to false]
+**IncludeSubdags** | Pointer to **bool** | Clear tasks in subdags and clear external tasks indicated by ExternalTaskMarker. | [optional] 
+**IncludeParentdag** | Pointer to **bool** | Clear tasks in the parent dag of the subdag. | [optional] 
+**ResetDagRuns** | Pointer to **bool** | Set state of DAG runs to RUNNING. | [optional] 
+**DagRunId** | Pointer to **NullableString** | The DagRun ID for this task instance | [optional] 
+**IncludeUpstream** | Pointer to **bool** | If set to true, upstream tasks are also affected. | [optional] [default to false]
+**IncludeDownstream** | Pointer to **bool** | If set to true, downstream tasks are also affected. | [optional] [default to false]
+**IncludeFuture** | Pointer to **bool** | If set to True, also tasks from future DAG Runs are affected. | [optional] [default to false]
+**IncludePast** | Pointer to **bool** | If set to True, also tasks from past DAG Runs are affected. | [optional] [default to false]
+
+## Methods
+
+### NewClearTaskInstances
+
+`func NewClearTaskInstances() *ClearTaskInstances`
+
+NewClearTaskInstances instantiates a new ClearTaskInstances object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewClearTaskInstancesWithDefaults
+
+`func NewClearTaskInstancesWithDefaults() *ClearTaskInstances`
+
+NewClearTaskInstancesWithDefaults instantiates a new ClearTaskInstances object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetDryRun
+
+`func (o *ClearTaskInstances) GetDryRun() bool`
+
+GetDryRun returns the DryRun field if non-nil, zero value otherwise.
+
+### GetDryRunOk
+
+`func (o *ClearTaskInstances) GetDryRunOk() (*bool, bool)`
+
+GetDryRunOk returns a tuple with the DryRun field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDryRun
+
+`func (o *ClearTaskInstances) SetDryRun(v bool)`
+
+SetDryRun sets DryRun field to given value.
+
+### HasDryRun
+
+`func (o *ClearTaskInstances) HasDryRun() bool`
+
+HasDryRun returns a boolean if a field has been set.
+
+### GetTaskIds
+
+`func (o *ClearTaskInstances) GetTaskIds() []string`
+
+GetTaskIds returns the TaskIds field if non-nil, zero value otherwise.
+
+### GetTaskIdsOk
+
+`func (o *ClearTaskInstances) GetTaskIdsOk() (*[]string, bool)`
+
+GetTaskIdsOk returns a tuple with the TaskIds field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetTaskIds
+
+`func (o *ClearTaskInstances) SetTaskIds(v []string)`
+
+SetTaskIds sets TaskIds field to given value.
+
+### HasTaskIds
+
+`func (o *ClearTaskInstances) HasTaskIds() bool`
+
+HasTaskIds returns a boolean if a field has been set.
+
+### GetStartDate
+
+`func (o *ClearTaskInstances) GetStartDate() string`
+
+GetStartDate returns the StartDate field if non-nil, zero value otherwise.
+
+### GetStartDateOk
+
+`func (o *ClearTaskInstances) GetStartDateOk() (*string, bool)`
+
+GetStartDateOk returns a tuple with the StartDate field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetStartDate
+
+`func (o *ClearTaskInstances) SetStartDate(v string)`
+
+SetStartDate sets StartDate field to given value.
+
+### HasStartDate
+
+`func (o *ClearTaskInstances) HasStartDate() bool`
+
+HasStartDate returns a boolean if a field has been set.
+
+### GetEndDate
+
+`func (o *ClearTaskInstances) GetEndDate() string`
+
+GetEndDate returns the EndDate field if non-nil, zero value otherwise.
+
+### GetEndDateOk
+
+`func (o *ClearTaskInstances) GetEndDateOk() (*string, bool)`
+
+GetEndDateOk returns a tuple with the EndDate field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetEndDate
+
+`func (o *ClearTaskInstances) SetEndDate(v string)`
+
+SetEndDate sets EndDate field to given value.
+
+### HasEndDate
+
+`func (o *ClearTaskInstances) HasEndDate() bool`
+
+HasEndDate returns a boolean if a field has been set.
+
+### GetOnlyFailed
+
+`func (o *ClearTaskInstances) GetOnlyFailed() bool`
+
+GetOnlyFailed returns the OnlyFailed field if non-nil, zero value otherwise.
+
+### GetOnlyFailedOk
+
+`func (o *ClearTaskInstances) GetOnlyFailedOk() (*bool, bool)`
+
+GetOnlyFailedOk returns a tuple with the OnlyFailed field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOnlyFailed
+
+`func (o *ClearTaskInstances) SetOnlyFailed(v bool)`
+
+SetOnlyFailed sets OnlyFailed field to given value.
+
+### HasOnlyFailed
+
+`func (o *ClearTaskInstances) HasOnlyFailed() bool`
+
+HasOnlyFailed returns a boolean if a field has been set.
+
+### GetOnlyRunning
+
+`func (o *ClearTaskInstances) GetOnlyRunning() bool`
+
+GetOnlyRunning returns the OnlyRunning field if non-nil, zero value otherwise.
+
+### GetOnlyRunningOk
+
+`func (o *ClearTaskInstances) GetOnlyRunningOk() (*bool, bool)`
+
+GetOnlyRunningOk returns a tuple with the OnlyRunning field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetOnlyRunning
+
+`func (o *ClearTaskInstances) SetOnlyRunning(v bool)`
+
+SetOnlyRunning sets OnlyRunning field to given value.
+
+### HasOnlyRunning
+
+`func (o *ClearTaskInstances) HasOnlyRunning() bool`
+
+HasOnlyRunning returns a boolean if a field has been set.
+
+### GetIncludeSubdags
+
+`func (o *ClearTaskInstances) GetIncludeSubdags() bool`
+
+GetIncludeSubdags returns the IncludeSubdags field if non-nil, zero value otherwise.
+
+### GetIncludeSubdagsOk
+
+`func (o *ClearTaskInstances) GetIncludeSubdagsOk() (*bool, bool)`
+
+GetIncludeSubdagsOk returns a tuple with the IncludeSubdags field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIncludeSubdags
+
+`func (o *ClearTaskInstances) SetIncludeSubdags(v bool)`
+
+SetIncludeSubdags sets IncludeSubdags field to given value.
+
+### HasIncludeSubdags
+
+`func (o *ClearTaskInstances) HasIncludeSubdags() bool`
+
+HasIncludeSubdags returns a boolean if a field has been set.
+
+### GetIncludeParentdag
+
+`func (o *ClearTaskInstances) GetIncludeParentdag() bool`
+
+GetIncludeParentdag returns the IncludeParentdag field if non-nil, zero value otherwise.
+
+### GetIncludeParentdagOk
+
+`func (o *ClearTaskInstances) GetIncludeParentdagOk() (*bool, bool)`
+
+GetIncludeParentdagOk returns a tuple with the IncludeParentdag field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIncludeParentdag
+
+`func (o *ClearTaskInstances) SetIncludeParentdag(v bool)`
+
+SetIncludeParentdag sets IncludeParentdag field to given value.
+
+### HasIncludeParentdag
+
+`func (o *ClearTaskInstances) HasIncludeParentdag() bool`
+
+HasIncludeParentdag returns a boolean if a field has been set.
+
+### GetResetDagRuns
+
+`func (o *ClearTaskInstances) GetResetDagRuns() bool`
+
+GetResetDagRuns returns the ResetDagRuns field if non-nil, zero value otherwise.
+
+### GetResetDagRunsOk
+
+`func (o *ClearTaskInstances) GetResetDagRunsOk() (*bool, bool)`
+
+GetResetDagRunsOk returns a tuple with the ResetDagRuns field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetResetDagRuns
+
+`func (o *ClearTaskInstances) SetResetDagRuns(v bool)`
+
+SetResetDagRuns sets ResetDagRuns field to given value.
+
+### HasResetDagRuns
+
+`func (o *ClearTaskInstances) HasResetDagRuns() bool`
+
+HasResetDagRuns returns a boolean if a field has been set.
+
+### GetDagRunId
+
+`func (o *ClearTaskInstances) GetDagRunId() string`
+
+GetDagRunId returns the DagRunId field if non-nil, zero value otherwise.
+
+### GetDagRunIdOk
+
+`func (o *ClearTaskInstances) GetDagRunIdOk() (*string, bool)`
+
+GetDagRunIdOk returns a tuple with the DagRunId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDagRunId
+
+`func (o *ClearTaskInstances) SetDagRunId(v string)`
+
+SetDagRunId sets DagRunId field to given value.
+
+### HasDagRunId
+
+`func (o *ClearTaskInstances) HasDagRunId() bool`
+
+HasDagRunId returns a boolean if a field has been set.
+
+### SetDagRunIdNil
+
+`func (o *ClearTaskInstances) SetDagRunIdNil(b bool)`
+
+ SetDagRunIdNil sets the value for DagRunId to be an explicit nil
+
+### UnsetDagRunId
+`func (o *ClearTaskInstances) UnsetDagRunId()`
+
+UnsetDagRunId ensures that no value is present for DagRunId, not even an explicit nil
+### GetIncludeUpstream
+
+`func (o *ClearTaskInstances) GetIncludeUpstream() bool`
+
+GetIncludeUpstream returns the IncludeUpstream field if non-nil, zero value otherwise.
+
+### GetIncludeUpstreamOk
+
+`func (o *ClearTaskInstances) GetIncludeUpstreamOk() (*bool, bool)`
+
+GetIncludeUpstreamOk returns a tuple with the IncludeUpstream field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIncludeUpstream
+
+`func (o *ClearTaskInstances) SetIncludeUpstream(v bool)`
+
+SetIncludeUpstream sets IncludeUpstream field to given value.
+
+### HasIncludeUpstream
+
+`func (o *ClearTaskInstances) HasIncludeUpstream() bool`
+
+HasIncludeUpstream returns a boolean if a field has been set.
+
+### GetIncludeDownstream
+
+`func (o *ClearTaskInstances) GetIncludeDownstream() bool`
+
+GetIncludeDownstream returns the IncludeDownstream field if non-nil, zero value otherwise.
+
+### GetIncludeDownstreamOk
+
+`func (o *ClearTaskInstances) GetIncludeDownstreamOk() (*bool, bool)`
+
+GetIncludeDownstreamOk returns a tuple with the IncludeDownstream field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIncludeDownstream
+
+`func (o *ClearTaskInstances) SetIncludeDownstream(v bool)`
+
+SetIncludeDownstream sets IncludeDownstream field to given value.
+
+### HasIncludeDownstream
+
+`func (o *ClearTaskInstances) HasIncludeDownstream() bool`
+
+HasIncludeDownstream returns a boolean if a field has been set.
+
+### GetIncludeFuture
+
+`func (o *ClearTaskInstances) GetIncludeFuture() bool`
+
+GetIncludeFuture returns the IncludeFuture field if non-nil, zero value otherwise.
+
+### GetIncludeFutureOk
+
+`func (o *ClearTaskInstances) GetIncludeFutureOk() (*bool, bool)`
+
+GetIncludeFutureOk returns a tuple with the IncludeFuture field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIncludeFuture
+
+`func (o *ClearTaskInstances) SetIncludeFuture(v bool)`
+
+SetIncludeFuture sets IncludeFuture field to given value.
+
+### HasIncludeFuture
+
+`func (o *ClearTaskInstances) HasIncludeFuture() bool`
+
+HasIncludeFuture returns a boolean if a field has been set.
+
+### GetIncludePast
+
+`func (o *ClearTaskInstances) GetIncludePast() bool`
+
+GetIncludePast returns the IncludePast field if non-nil, zero value otherwise.
+
+### GetIncludePastOk
+
+`func (o *ClearTaskInstances) GetIncludePastOk() (*bool, bool)`
+
+GetIncludePastOk returns a tuple with the IncludePast field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetIncludePast
+
+`func (o *ClearTaskInstances) SetIncludePast(v bool)`
+
+SetIncludePast sets IncludePast field to given value.
+
+### HasIncludePast
+
+`func (o *ClearTaskInstances) HasIncludePast() bool`
+
+HasIncludePast returns a boolean if a field has been set.
+
+
+[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
+
+
diff --git a/airflow/docs/ConfigApi.md b/airflow/docs/ConfigApi.md
index 5f45281..4d5af02 100644
--- a/airflow/docs/ConfigApi.md
+++ b/airflow/docs/ConfigApi.md
@@ -74,7 +74,7 @@ Other parameters are passed through a pointer to a apiGetConfigRequest struct vi
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
diff --git a/airflow/docs/Connection.md b/airflow/docs/Connection.md
index 6f6cb8f..3ac0de2 100644
--- a/airflow/docs/Connection.md
+++ b/airflow/docs/Connection.md
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
 ------------ | ------------- | ------------- | -------------
 **ConnectionId** | Pointer to **string** | The connection ID. | [optional] 
 **ConnType** | Pointer to **string** | The connection type. | [optional] 
+**Description** | Pointer to **NullableString** | The description of the connection. | [optional] 
 **Host** | Pointer to **NullableString** | Host of the connection. | [optional] 
 **Login** | Pointer to **NullableString** | Login of the connection. | [optional] 
 **Schema** | Pointer to **NullableString** | Schema of the connection. | [optional] 
@@ -101,6 +102,41 @@ SetConnType sets ConnType field to given value.
 
 HasConnType returns a boolean if a field has been set.
 
+### GetDescription
+
+`func (o *Connection) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *Connection) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *Connection) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *Connection) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### SetDescriptionNil
+
+`func (o *Connection) SetDescriptionNil(b bool)`
+
+ SetDescriptionNil sets the value for Description to be an explicit nil
+
+### UnsetDescription
+`func (o *Connection) UnsetDescription()`
+
+UnsetDescription ensures that no value is present for Description, not even an explicit nil
 ### GetHost
 
 `func (o *Connection) GetHost() string`
diff --git a/airflow/docs/ConnectionApi.md b/airflow/docs/ConnectionApi.md
index 4e47d8b..edc5524 100644
--- a/airflow/docs/ConnectionApi.md
+++ b/airflow/docs/ConnectionApi.md
@@ -86,7 +86,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -154,7 +154,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -222,7 +222,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -294,7 +294,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -358,7 +358,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -424,7 +424,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
diff --git a/airflow/docs/ConnectionCollectionItem.md b/airflow/docs/ConnectionCollectionItem.md
index e5a8bb7..ec03e36 100644
--- a/airflow/docs/ConnectionCollectionItem.md
+++ b/airflow/docs/ConnectionCollectionItem.md
@@ -25,6 +25,7 @@ Name | Type | Description | Notes
 ------------ | ------------- | ------------- | -------------
 **ConnectionId** | Pointer to **string** | The connection ID. | [optional] 
 **ConnType** | Pointer to **string** | The connection type. | [optional] 
+**Description** | Pointer to **NullableString** | The description of the connection. | [optional] 
 **Host** | Pointer to **NullableString** | Host of the connection. | [optional] 
 **Login** | Pointer to **NullableString** | Login of the connection. | [optional] 
 **Schema** | Pointer to **NullableString** | Schema of the connection. | [optional] 
@@ -99,6 +100,41 @@ SetConnType sets ConnType field to given value.
 
 HasConnType returns a boolean if a field has been set.
 
+### GetDescription
+
+`func (o *ConnectionCollectionItem) GetDescription() string`
+
+GetDescription returns the Description field if non-nil, zero value otherwise.
+
+### GetDescriptionOk
+
+`func (o *ConnectionCollectionItem) GetDescriptionOk() (*string, bool)`
+
+GetDescriptionOk returns a tuple with the Description field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDescription
+
+`func (o *ConnectionCollectionItem) SetDescription(v string)`
+
+SetDescription sets Description field to given value.
+
+### HasDescription
+
+`func (o *ConnectionCollectionItem) HasDescription() bool`
+
+HasDescription returns a boolean if a field has been set.
+
+### SetDescriptionNil
+
+`func (o *ConnectionCollectionItem) SetDescriptionNil(b bool)`
+
+ SetDescriptionNil sets the value for Description to be an explicit nil
+
+### UnsetDescription
+`func (o *ConnectionCollectionItem) UnsetDescription()`
+
+UnsetDescription ensures that no value is present for Description, not even an explicit nil
 ### GetHost
 
 `func (o *ConnectionCollectionItem) GetHost() string`
diff --git a/airflow/docs/Dag.md b/airflow/docs/DAG.md
similarity index 98%
rename from airflow/docs/Dag.md
rename to airflow/docs/DAG.md
index 705e7b6..818b053 100644
--- a/airflow/docs/Dag.md
+++ b/airflow/docs/DAG.md
@@ -38,7 +38,7 @@ Name | Type | Description | Notes
 **FileToken** | Pointer to **string** | The key containing the encrypted path to the file. Encryption and decryption take place only on the server. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change.  | [optional] [readonly] 
 **Owners** | Pointer to **[]string** |  | [optional] [readonly] 
 **Description** | Pointer to **NullableString** | User-provided DAG description, which can consist of several sentences or paragraphs that describe DAG contents.  | [optional] [readonly] 
-**ScheduleInterval** | Pointer to [**ScheduleInterval**](ScheduleInterval.md) |  | [optional] 
+**ScheduleInterval** | Pointer to [**NullableScheduleInterval**](ScheduleInterval.md) |  | [optional] 
 **TimetableDescription** | Pointer to **NullableString** | Timetable/Schedule Interval description.  *New in version 2.3.0*  | [optional] [readonly] 
 **Tags** | Pointer to [**[]Tag**](Tag.md) | List of tags. | [optional] [readonly] 
 **MaxActiveTasks** | Pointer to **NullableInt32** | Maximum number of active tasks that can be run on the DAG  *New in version 2.3.0*  | [optional] [readonly] 
@@ -569,6 +569,16 @@ SetScheduleInterval sets ScheduleInterval field to given value.
 
 HasScheduleInterval returns a boolean if a field has been set.
 
+### SetScheduleIntervalNil
+
+`func (o *DAG) SetScheduleIntervalNil(b bool)`
+
+ SetScheduleIntervalNil sets the value for ScheduleInterval to be an explicit nil
+
+### UnsetScheduleInterval
+`func (o *DAG) UnsetScheduleInterval()`
+
+UnsetScheduleInterval ensures that no value is present for ScheduleInterval, not even an explicit nil
 ### GetTimetableDescription
 
 `func (o *DAG) GetTimetableDescription() string`
diff --git a/airflow/docs/DAGApi.md b/airflow/docs/DAGApi.md
index 4948fdc..4de7eb7 100644
--- a/airflow/docs/DAGApi.md
+++ b/airflow/docs/DAGApi.md
@@ -34,6 +34,8 @@ Method | HTTP request | Description
 [**PatchDags**](DAGApi.md#PatchDags) | **Patch** /dags | Update DAGs
 [**PostClearTaskInstances**](DAGApi.md#PostClearTaskInstances) | **Post** /dags/{dag_id}/clearTaskInstances | Clear a set of task instances
 [**PostSetTaskInstancesState**](DAGApi.md#PostSetTaskInstancesState) | **Post** /dags/{dag_id}/updateTaskInstancesState | Set a state of task instances
+[**SetMappedTaskInstanceNote**](DAGApi.md#SetMappedTaskInstanceNote) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/{map_index}/setNote | Update the TaskInstance note.
+[**SetTaskInstanceNote**](DAGApi.md#SetTaskInstanceNote) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/{task_id}/setNote | Update the TaskInstance note.
 
 
 
@@ -93,7 +95,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -163,7 +165,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -233,7 +235,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -303,7 +305,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -379,7 +381,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -450,7 +452,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -520,7 +522,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -592,7 +594,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -670,7 +672,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -684,7 +686,7 @@ No authorization required
 
 ## PostClearTaskInstances
 
-> TaskInstanceReferenceCollection PostClearTaskInstances(ctx, dagId).ClearTaskInstance(clearTaskInstance).Execute()
+> TaskInstanceReferenceCollection PostClearTaskInstances(ctx, dagId).ClearTaskInstances(clearTaskInstances).Execute()
 
 Clear a set of task instances
 
@@ -704,11 +706,11 @@ import (
 
 func main() {
     dagId := "dagId_example" // string | The DAG ID.
-    clearTaskInstance := *openapiclient.NewClearTaskInstance() // ClearTaskInstance | Parameters of action
+    clearTaskInstances := *openapiclient.NewClearTaskInstances() // ClearTaskInstances | Parameters of action
 
     configuration := openapiclient.NewConfiguration()
     api_client := openapiclient.NewAPIClient(configuration)
-    resp, r, err := api_client.DAGApi.PostClearTaskInstances(context.Background(), dagId).ClearTaskInstance(clearTaskInstance).Execute()
+    resp, r, err := api_client.DAGApi.PostClearTaskInstances(context.Background(), dagId).ClearTaskInstances(clearTaskInstances).Execute()
     if err != nil {
         fmt.Fprintf(os.Stderr, "Error when calling `DAGApi.PostClearTaskInstances``: %v\n", err)
         fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
@@ -734,7 +736,7 @@ Other parameters are passed through a pointer to a apiPostClearTaskInstancesRequ
 Name | Type | Description  | Notes
 ------------- | ------------- | ------------- | -------------
 
- **clearTaskInstance** | [**ClearTaskInstance**](ClearTaskInstance.md) | Parameters of action | 
+ **clearTaskInstances** | [**ClearTaskInstances**](ClearTaskInstances.md) | Parameters of action | 
 
 ### Return type
 
@@ -742,7 +744,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -814,7 +816,166 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## SetMappedTaskInstanceNote
+
+> TaskInstance SetMappedTaskInstanceNote(ctx, dagId, dagRunId, taskId, mapIndex).SetTaskInstanceNote(setTaskInstanceNote).Execute()
+
+Update the TaskInstance note.
+
+
+
+### Example
+
+```go
+package main
+
+import (
+    "context"
+    "fmt"
+    "os"
+    openapiclient "./openapi"
+)
+
+func main() {
+    dagId := "dagId_example" // string | The DAG ID.
+    dagRunId := "dagRunId_example" // string | The DAG run ID.
+    taskId := "taskId_example" // string | The task ID.
+    mapIndex := int32(56) // int32 | The map index.
+    setTaskInstanceNote := *openapiclient.NewSetTaskInstanceNote("Note_example") // SetTaskInstanceNote | Parameters of set Task Instance note.
+
+    configuration := openapiclient.NewConfiguration()
+    api_client := openapiclient.NewAPIClient(configuration)
+    resp, r, err := api_client.DAGApi.SetMappedTaskInstanceNote(context.Background(), dagId, dagRunId, taskId, mapIndex).SetTaskInstanceNote(setTaskInstanceNote).Execute()
+    if err != nil {
+        fmt.Fprintf(os.Stderr, "Error when calling `DAGApi.SetMappedTaskInstanceNote``: %v\n", err)
+        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+    }
+    // response from `SetMappedTaskInstanceNote`: TaskInstance
+    fmt.Fprintf(os.Stdout, "Response from `DAGApi.SetMappedTaskInstanceNote`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**dagId** | **string** | The DAG ID. | 
+**dagRunId** | **string** | The DAG run ID. | 
+**taskId** | **string** | The task ID. | 
+**mapIndex** | **int32** | The map index. | 
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiSetMappedTaskInstanceNoteRequest struct via the builder pattern
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+
+
+
+
+ **setTaskInstanceNote** | [**SetTaskInstanceNote**](SetTaskInstanceNote.md) | Parameters of set Task Instance note. | 
+
+### Return type
+
+[**TaskInstance**](TaskInstance.md)
+
+### Authorization
+
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## SetTaskInstanceNote
+
+> TaskInstance SetTaskInstanceNote(ctx, dagId, dagRunId, taskId).SetTaskInstanceNote(setTaskInstanceNote).Execute()
+
+Update the TaskInstance note.
+
+
+
+### Example
+
+```go
+package main
+
+import (
+    "context"
+    "fmt"
+    "os"
+    openapiclient "./openapi"
+)
+
+func main() {
+    dagId := "dagId_example" // string | The DAG ID.
+    dagRunId := "dagRunId_example" // string | The DAG run ID.
+    taskId := "taskId_example" // string | The task ID.
+    setTaskInstanceNote := *openapiclient.NewSetTaskInstanceNote("Note_example") // SetTaskInstanceNote | Parameters of set Task Instance note.
+
+    configuration := openapiclient.NewConfiguration()
+    api_client := openapiclient.NewAPIClient(configuration)
+    resp, r, err := api_client.DAGApi.SetTaskInstanceNote(context.Background(), dagId, dagRunId, taskId).SetTaskInstanceNote(setTaskInstanceNote).Execute()
+    if err != nil {
+        fmt.Fprintf(os.Stderr, "Error when calling `DAGApi.SetTaskInstanceNote``: %v\n", err)
+        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+    }
+    // response from `SetTaskInstanceNote`: TaskInstance
+    fmt.Fprintf(os.Stdout, "Response from `DAGApi.SetTaskInstanceNote`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**dagId** | **string** | The DAG ID. | 
+**dagRunId** | **string** | The DAG run ID. | 
+**taskId** | **string** | The task ID. | 
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiSetTaskInstanceNoteRequest struct via the builder pattern
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+
+
+
+ **setTaskInstanceNote** | [**SetTaskInstanceNote**](SetTaskInstanceNote.md) | Parameters of set Task Instance note. | 
+
+### Return type
+
+[**TaskInstance**](TaskInstance.md)
+
+### Authorization
+
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
diff --git a/airflow/docs/DagCollection.md b/airflow/docs/DAGCollection.md
similarity index 100%
copy from airflow/docs/DagCollection.md
copy to airflow/docs/DAGCollection.md
diff --git a/airflow/docs/DagDetail.md b/airflow/docs/DAGDetail.md
similarity index 98%
rename from airflow/docs/DagDetail.md
rename to airflow/docs/DAGDetail.md
index 00daa58..7e4c9ed 100644
--- a/airflow/docs/DagDetail.md
+++ b/airflow/docs/DAGDetail.md
@@ -38,7 +38,7 @@ Name | Type | Description | Notes
 **FileToken** | Pointer to **string** | The key containing the encrypted path to the file. Encryption and decryption take place only on the server. This prevents the client from reading an non-DAG file. This also ensures API extensibility, because the format of encrypted data may change.  | [optional] [readonly] 
 **Owners** | Pointer to **[]string** |  | [optional] [readonly] 
 **Description** | Pointer to **NullableString** | User-provided DAG description, which can consist of several sentences or paragraphs that describe DAG contents.  | [optional] [readonly] 
-**ScheduleInterval** | Pointer to [**ScheduleInterval**](ScheduleInterval.md) |  | [optional] 
+**ScheduleInterval** | Pointer to [**NullableScheduleInterval**](ScheduleInterval.md) |  | [optional] 
 **TimetableDescription** | Pointer to **NullableString** | Timetable/Schedule Interval description.  *New in version 2.3.0*  | [optional] [readonly] 
 **Tags** | Pointer to [**[]Tag**](Tag.md) | List of tags. | [optional] [readonly] 
 **MaxActiveTasks** | Pointer to **NullableInt32** | Maximum number of active tasks that can be run on the DAG  *New in version 2.3.0*  | [optional] [readonly] 
@@ -572,6 +572,16 @@ SetScheduleInterval sets ScheduleInterval field to given value.
 
 HasScheduleInterval returns a boolean if a field has been set.
 
+### SetScheduleIntervalNil
+
+`func (o *DAGDetail) SetScheduleIntervalNil(b bool)`
+
+ SetScheduleIntervalNil sets the value for ScheduleInterval to be an explicit nil
+
+### UnsetScheduleInterval
+`func (o *DAGDetail) UnsetScheduleInterval()`
+
+UnsetScheduleInterval ensures that no value is present for ScheduleInterval, not even an explicit nil
 ### GetTimetableDescription
 
 `func (o *DAGDetail) GetTimetableDescription() string`
diff --git a/airflow/docs/DagDetailAllOf.md b/airflow/docs/DAGDetailAllOf.md
similarity index 100%
rename from airflow/docs/DagDetailAllOf.md
rename to airflow/docs/DAGDetailAllOf.md
diff --git a/airflow/docs/DagRun.md b/airflow/docs/DAGRun.md
similarity index 94%
rename from airflow/docs/DagRun.md
rename to airflow/docs/DAGRun.md
index 70a8e89..d58e995 100644
--- a/airflow/docs/DagRun.md
+++ b/airflow/docs/DAGRun.md
@@ -36,6 +36,7 @@ Name | Type | Description | Notes
 **State** | Pointer to [**DagState**](DagState.md) |  | [optional] 
 **ExternalTrigger** | Pointer to **bool** |  | [optional] [readonly] [default to true]
 **Conf** | Pointer to **map[string]interface{}** | JSON object describing additional configuration parameters.  The value of this field can be set only when creating the object. If you try to modify the field of an existing object, the request fails with an BAD_REQUEST error.  | [optional] 
+**Note** | Pointer to **NullableString** | Contains manually entered notes by the user about the DagRun.  *New in version 2.5.0*  | [optional] 
 
 ## Methods
 
@@ -461,6 +462,41 @@ SetConf sets Conf field to given value.
 
 HasConf returns a boolean if a field has been set.
 
+### GetNote
+
+`func (o *DAGRun) GetNote() string`
+
+GetNote returns the Note field if non-nil, zero value otherwise.
+
+### GetNoteOk
+
+`func (o *DAGRun) GetNoteOk() (*string, bool)`
+
+GetNoteOk returns a tuple with the Note field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetNote
+
+`func (o *DAGRun) SetNote(v string)`
+
+SetNote sets Note field to given value.
+
+### HasNote
+
+`func (o *DAGRun) HasNote() bool`
+
+HasNote returns a boolean if a field has been set.
+
+### SetNoteNil
+
+`func (o *DAGRun) SetNoteNil(b bool)`
+
+ SetNoteNil sets the value for Note to be an explicit nil
+
+### UnsetNote
+`func (o *DAGRun) UnsetNote()`
+
+UnsetNote ensures that no value is present for Note, not even an explicit nil
 
 [[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
 
diff --git a/airflow/docs/DAGRunApi.md b/airflow/docs/DAGRunApi.md
index 8cc59b6..5e3e57b 100644
--- a/airflow/docs/DAGRunApi.md
+++ b/airflow/docs/DAGRunApi.md
@@ -23,15 +23,93 @@ All URIs are relative to *http://localhost/api/v1*
 
 Method | HTTP request | Description
 ------------- | ------------- | -------------
+[**ClearDagRun**](DAGRunApi.md#ClearDagRun) | **Post** /dags/{dag_id}/dagRuns/{dag_run_id}/clear | Clear a DAG run
 [**DeleteDagRun**](DAGRunApi.md#DeleteDagRun) | **Delete** /dags/{dag_id}/dagRuns/{dag_run_id} | Delete a DAG run
 [**GetDagRun**](DAGRunApi.md#GetDagRun) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id} | Get a DAG run
 [**GetDagRuns**](DAGRunApi.md#GetDagRuns) | **Get** /dags/{dag_id}/dagRuns | List DAG runs
 [**GetDagRunsBatch**](DAGRunApi.md#GetDagRunsBatch) | **Post** /dags/~/dagRuns/list | List DAG runs (batch)
+[**GetUpstreamDatasetEvents**](DAGRunApi.md#GetUpstreamDatasetEvents) | **Get** /dags/{dag_id}/dagRuns/{dag_run_id}/upstreamDatasetEvents | Get dataset events for a DAG run
 [**PostDagRun**](DAGRunApi.md#PostDagRun) | **Post** /dags/{dag_id}/dagRuns | Trigger a new DAG run
+[**SetDagRunNote**](DAGRunApi.md#SetDagRunNote) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id}/setNote | Update the DagRun note.
 [**UpdateDagRunState**](DAGRunApi.md#UpdateDagRunState) | **Patch** /dags/{dag_id}/dagRuns/{dag_run_id} | Modify a DAG run
 
 
 
+## ClearDagRun
+
+> DAGRun ClearDagRun(ctx, dagId, dagRunId).ClearDagRun(clearDagRun).Execute()
+
+Clear a DAG run
+
+
+
+### Example
+
+```go
+package main
+
+import (
+    "context"
+    "fmt"
+    "os"
+    openapiclient "./openapi"
+)
+
+func main() {
+    dagId := "dagId_example" // string | The DAG ID.
+    dagRunId := "dagRunId_example" // string | The DAG run ID.
+    clearDagRun := *openapiclient.NewClearDagRun() // ClearDagRun | 
+
+    configuration := openapiclient.NewConfiguration()
+    api_client := openapiclient.NewAPIClient(configuration)
+    resp, r, err := api_client.DAGRunApi.ClearDagRun(context.Background(), dagId, dagRunId).ClearDagRun(clearDagRun).Execute()
+    if err != nil {
+        fmt.Fprintf(os.Stderr, "Error when calling `DAGRunApi.ClearDagRun``: %v\n", err)
+        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+    }
+    // response from `ClearDagRun`: DAGRun
+    fmt.Fprintf(os.Stdout, "Response from `DAGRunApi.ClearDagRun`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**dagId** | **string** | The DAG ID. | 
+**dagRunId** | **string** | The DAG run ID. | 
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiClearDagRunRequest struct via the builder pattern
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+
+
+ **clearDagRun** | [**ClearDagRun**](ClearDagRun.md) |  | 
+
+### Return type
+
+[**DAGRun**](DAGRun.md)
+
+### Authorization
+
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
 ## DeleteDagRun
 
 > DeleteDagRun(ctx, dagId, dagRunId).Execute()
@@ -89,7 +167,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -160,7 +238,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -251,7 +329,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -317,7 +395,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -329,6 +407,79 @@ No authorization required
 [[Back to README]](../README.md)
 
 
+## GetUpstreamDatasetEvents
+
+> DatasetEventCollection GetUpstreamDatasetEvents(ctx, dagId, dagRunId).Execute()
+
+Get dataset events for a DAG run
+
+
+
+### Example
+
+```go
+package main
+
+import (
+    "context"
+    "fmt"
+    "os"
+    openapiclient "./openapi"
+)
+
+func main() {
+    dagId := "dagId_example" // string | The DAG ID.
+    dagRunId := "dagRunId_example" // string | The DAG run ID.
+
+    configuration := openapiclient.NewConfiguration()
+    api_client := openapiclient.NewAPIClient(configuration)
+    resp, r, err := api_client.DAGRunApi.GetUpstreamDatasetEvents(context.Background(), dagId, dagRunId).Execute()
+    if err != nil {
+        fmt.Fprintf(os.Stderr, "Error when calling `DAGRunApi.GetUpstreamDatasetEvents``: %v\n", err)
+        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+    }
+    // response from `GetUpstreamDatasetEvents`: DatasetEventCollection
+    fmt.Fprintf(os.Stdout, "Response from `DAGRunApi.GetUpstreamDatasetEvents`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**dagId** | **string** | The DAG ID. | 
+**dagRunId** | **string** | The DAG run ID. | 
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiGetUpstreamDatasetEventsRequest struct via the builder pattern
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+
+
+
+### Return type
+
+[**DatasetEventCollection**](DatasetEventCollection.md)
+
+### Authorization
+
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
 ## PostDagRun
 
 > DAGRun PostDagRun(ctx, dagId).DAGRun(dAGRun).Execute()
@@ -387,7 +538,82 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
+[[Back to Model list]](../README.md#documentation-for-models)
+[[Back to README]](../README.md)
+
+
+## SetDagRunNote
+
+> DAGRun SetDagRunNote(ctx, dagId, dagRunId).SetDagRunNote(setDagRunNote).Execute()
+
+Update the DagRun note.
+
+
+
+### Example
+
+```go
+package main
+
+import (
+    "context"
+    "fmt"
+    "os"
+    openapiclient "./openapi"
+)
+
+func main() {
+    dagId := "dagId_example" // string | The DAG ID.
+    dagRunId := "dagRunId_example" // string | The DAG run ID.
+    setDagRunNote := *openapiclient.NewSetDagRunNote() // SetDagRunNote | Parameters of set DagRun note.
+
+    configuration := openapiclient.NewConfiguration()
+    api_client := openapiclient.NewAPIClient(configuration)
+    resp, r, err := api_client.DAGRunApi.SetDagRunNote(context.Background(), dagId, dagRunId).SetDagRunNote(setDagRunNote).Execute()
+    if err != nil {
+        fmt.Fprintf(os.Stderr, "Error when calling `DAGRunApi.SetDagRunNote``: %v\n", err)
+        fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
+    }
+    // response from `SetDagRunNote`: DAGRun
+    fmt.Fprintf(os.Stdout, "Response from `DAGRunApi.SetDagRunNote`: %v\n", resp)
+}
+```
+
+### Path Parameters
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+**ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
+**dagId** | **string** | The DAG ID. | 
+**dagRunId** | **string** | The DAG run ID. | 
+
+### Other Parameters
+
+Other parameters are passed through a pointer to a apiSetDagRunNoteRequest struct via the builder pattern
+
+
+Name | Type | Description  | Notes
+------------- | ------------- | ------------- | -------------
+
+
+ **setDagRunNote** | [**SetDagRunNote**](SetDagRunNote.md) | Parameters of set DagRun note. | 
+
+### Return type
+
+[**DAGRun**](DAGRun.md)
+
+### Authorization
+
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
@@ -462,7 +688,7 @@ Name | Type | Description  | Notes
 
 ### Authorization
 
-No authorization required
+[Basic](../README.md#Basic), [Kerberos](../README.md#Kerberos)
 
 ### HTTP request headers
 
diff --git a/airflow/docs/DagRunCollection.md b/airflow/docs/DAGRunCollection.md
similarity index 100%
copy from airflow/docs/DagRunCollection.md
copy to airflow/docs/DAGRunCollection.md
diff --git a/airflow/docs/DagScheduleDatasetReference.md b/airflow/docs/DagScheduleDatasetReference.md
new file mode 100644
index 0000000..cd9828b
--- /dev/null
+++ b/airflow/docs/DagScheduleDatasetReference.md
@@ -0,0 +1,137 @@
+<!--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements.  See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership.  The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License.  You may obtain a copy of the License at
+
+   http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied.  See the License for the
+ specific language governing permissions and limitations
+ under the License.
+ -->
+
+# DagScheduleDatasetReference
+
+## Properties
+
+Name | Type | Description | Notes
+------------ | ------------- | ------------- | -------------
+**DagId** | Pointer to **NullableString** | The DAG ID that depends on the dataset. | [optional] 
+**CreatedAt** | Pointer to **string** | The dataset reference creation time | [optional] 
+**UpdatedAt** | Pointer to **string** | The dataset reference update time | [optional] 
+
+## Methods
+
+### NewDagScheduleDatasetReference
+
+`func NewDagScheduleDatasetReference() *DagScheduleDatasetReference`
+
+NewDagScheduleDatasetReference instantiates a new DagScheduleDatasetReference object
+This constructor will assign default values to properties that have it defined,
+and makes sure properties required by API are set, but the set of arguments
+will change when the set of required properties is changed
+
+### NewDagScheduleDatasetReferenceWithDefaults
+
+`func NewDagScheduleDatasetReferenceWithDefaults() *DagScheduleDatasetReference`
+
+NewDagScheduleDatasetReferenceWithDefaults instantiates a new DagScheduleDatasetReference object
+This constructor will only assign default values to properties that have it defined,
+but it doesn't guarantee that properties required by API are set
+
+### GetDagId
+
+`func (o *DagScheduleDatasetReference) GetDagId() string`
+
+GetDagId returns the DagId field if non-nil, zero value otherwise.
+
+### GetDagIdOk
+
+`func (o *DagScheduleDatasetReference) GetDagIdOk() (*string, bool)`
+
+GetDagIdOk returns a tuple with the DagId field if it's non-nil, zero value otherwise
+and a boolean to check if the value has been set.
+
+### SetDagId
+
+`func (o *DagScheduleDatasetReference) SetDagId(v string)`
+
+SetDagId sets DagId field to given value.
+
+### HasDagId
+
+`func (o *DagScheduleDatasetReference) HasDagId() bool`
+
+HasDagId returns a boolean if a field has been set.
+
+### SetDagIdNil
... 12590 lines suppressed ...