From 921ca909b1d7eb040c9cbc29204eef011b276a74 Mon Sep 17 00:00:00 2001 From: Wei Lee Date: Sun, 21 Sep 2025 21:38:31 +0900 Subject: [PATCH] build(open-api): regnerate open api spec --- .../openapi/v2-rest-api-generated.yaml | 8 +--- .../airflow/ui/openapi-gen/queries/queries.ts | 4 +- .../ui/openapi-gen/requests/services.gen.ts | 4 +- .../ui/openapi-gen/requests/types.gen.ts | 8 ++-- .../edge3/openapi/v2-edge-generated.yaml | 40 +++++-------------- 5 files changed, 20 insertions(+), 44 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 d32693bc8db0e..59ab6146c5cbd 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 @@ -5415,9 +5415,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Delete Task Instance + schema: {} '401': content: application/json: @@ -7767,9 +7765,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 d0c15fc387ecf..4ead6f2369806 100644 --- a/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts +++ b/airflow-core/src/airflow/ui/openapi-gen/queries/queries.ts @@ -1914,7 +1914,7 @@ export const useBackfillServiceCancelBackfill = (options?: Omit(options?: Omit { @@ -3587,7 +3587,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 { 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 e08a66b5da221..ed113c27ebed8 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 @@ -2613,7 +2613,7 @@ export type DeleteTaskInstanceData = { taskId: string; }; -export type DeleteTaskInstanceResponse = null; +export type DeleteTaskInstanceResponse = unknown; export type GetMappedTaskInstancesData = { dagId: string; @@ -3137,7 +3137,7 @@ export type ReparseDagFileData = { fileToken: string; }; -export type ReparseDagFileResponse = null; +export type ReparseDagFileResponse = unknown; export type GetDagVersionData = { dagId: string; @@ -4938,7 +4938,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 200: null; + 200: unknown; /** * Unauthorized */ @@ -6146,7 +6146,7 @@ export type $OpenApiTs = { /** * Successful Response */ - 201: null; + 201: unknown; /** * Unauthorized */ diff --git a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml index abfb61f1a54be..c88465279b645 100644 --- a/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml +++ b/providers/edge3/src/airflow/providers/edge3/openapi/v2-edge-generated.yaml @@ -142,9 +142,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response State + schema: {} '400': content: application/json: @@ -319,9 +317,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Push Logs + schema: {} '400': content: application/json: @@ -514,9 +510,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Update Queues + schema: {} '400': content: application/json: @@ -614,9 +608,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Request Worker Maintenance + schema: {} '422': description: Validation Error content: @@ -650,9 +642,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Update Worker Maintenance + schema: {} '422': description: Validation Error content: @@ -680,9 +670,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Exit Worker Maintenance + schema: {} '422': description: Validation Error content: @@ -711,9 +699,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Request Worker Shutdown + schema: {} '422': description: Validation Error content: @@ -742,9 +728,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Delete Worker + schema: {} '422': description: Validation Error content: @@ -779,9 +763,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Add Worker Queue + schema: {} '422': description: Validation Error content: @@ -815,9 +797,7 @@ paths: description: Successful Response content: application/json: - schema: - type: 'null' - title: Response Remove Worker Queue + schema: {} '422': description: Validation Error content: