Skip to content

Commit

Permalink
fix get ti endpoint route (apache#44171)
Browse files Browse the repository at this point in the history
  • Loading branch information
rawwar authored Nov 19, 2024
1 parent e964c64 commit 87337da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion airflow/api_fastapi/core_api/openapi/v1-generated.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3413,7 +3413,7 @@ paths:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/public/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/:
/public/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances:
get:
tags:
- Task Instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ def get_mapped_task_instance(


@task_instances_router.get(
"/",
"",
responses=create_openapi_http_exception_doc([status.HTTP_404_NOT_FOUND]),
)
def get_task_instances(
Expand Down
2 changes: 1 addition & 1 deletion airflow/ui/openapi-gen/requests/services.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1896,7 +1896,7 @@ export class TaskInstanceService {
): CancelablePromise<GetTaskInstancesResponse> {
return __request(OpenAPI, {
method: "GET",
url: "/public/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/",
url: "/public/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances",
path: {
dag_id: data.dagId,
dag_run_id: data.dagRunId,
Expand Down
2 changes: 1 addition & 1 deletion airflow/ui/openapi-gen/requests/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3076,7 +3076,7 @@ export type $OpenApiTs = {
};
};
};
"/public/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances/": {
"/public/dags/{dag_id}/dagRuns/{dag_run_id}/taskInstances": {
get: {
req: GetTaskInstancesData;
res: {
Expand Down

0 comments on commit 87337da

Please sign in to comment.