This is an automated email from the ASF dual-hosted git repository. kaxilnaik pushed a commit to branch v3-1-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit 77f2e9ba86e419c45bdc656d3fdc6937d7ab7af0 Author: Amogh Desai <[email protected]> AuthorDate: Tue Sep 23 18:11:53 2025 +0530 Regenerate the rest API spec to fix CI (#55986) (cherry picked from commit f932eac81f3cab986b43badafea71a336e2fced4) --- .../api_fastapi/core_api/openapi/v2-rest-api-generated.yaml | 8 ++------ airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts | 4 ++-- airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts | 4 ++-- airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts | 8 ++++---- 4 files changed, 10 insertions(+), 14 deletions(-) diff --git a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml index edba09a374b..db6fbc09dbd 100644 --- a/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml +++ b/airflow-core/src/airflow/api_fastapi/core_api/openapi/v2-rest-api-generated.yaml @@ -5391,9 +5391,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Delete Task Instance + schema: {} '401': content: application/json: @@ -7731,9 +7729,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Reparse Dag File + schema: {} '401': content: application/json: diff --git a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts index 484d68f3fde..4e5ad32c71a 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts @@ -1904,7 +1904,7 @@ export const useBackfillServiceCancelBackfill = <TData = Common.BackfillServiceC * Request re-parsing a DAG file. * @param data The data for the request. * @param data.fileToken -* @returns null Successful Response +* @returns unknown Successful Response * @throws ApiError */ export const useDagParsingServiceReparseDagFile = <TData = Common.DagParsingServiceReparseDagFileMutationResult, TError = unknown, TContext = unknown>(options?: Omit<UseMutationOptions<TData, TError, { @@ -2370,7 +2370,7 @@ export const useDagServiceDeleteDag = <TData = Common.DagServiceDeleteDagMutatio * @param data.dagRunId * @param data.taskId * @param data.mapIndex -* @returns null Successful Response +* @returns unknown Successful Response * @throws ApiError */ export const useTaskInstanceServiceDeleteTaskInstance = <TData = Common.TaskInstanceServiceDeleteTaskInstanceMutationResult, TError = unknown, TContext = unknown>(options?: Omit<UseMutationOptions<TData, TError, { diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts index ab13ef32449..94cd799e7d6 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/requests/services.gen.ts @@ -1991,7 +1991,7 @@ export class TaskInstanceService { * @param data.dagRunId * @param data.taskId * @param data.mapIndex - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static deleteTaskInstance(data: DeleteTaskInstanceData): CancelablePromise<DeleteTaskInstanceResponse> { @@ -3581,7 +3581,7 @@ export class DagParsingService { * Request re-parsing a DAG file. * @param data The data for the request. * @param data.fileToken - * @returns null Successful Response + * @returns unknown Successful Response * @throws ApiError */ public static reparseDagFile(data: ReparseDagFileData): CancelablePromise<ReparseDagFileResponse> { diff --git a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts index 1f4f7a8ab3e..17deda05dae 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/requests/types.gen.ts @@ -2594,7 +2594,7 @@ export type DeleteTaskInstanceData = { taskId: string; }; -export type DeleteTaskInstanceResponse = null; +export type DeleteTaskInstanceResponse = unknown; export type GetMappedTaskInstancesData = { dagId: string; @@ -3114,7 +3114,7 @@ export type ReparseDagFileData = { fileToken: string; }; -export type ReparseDagFileResponse = null; +export type ReparseDagFileResponse = unknown; export type GetDagVersionData = { dagId: string; @@ -4913,7 +4913,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Unauthorized */ @@ -6121,7 +6121,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 201: null; + 201: unknown; /** * Unauthorized */
