From ada9fc069b0f057cb1ff270f93b80015e49a7d0a Mon Sep 17 00:00:00 2001 From: Josh Hunt Date: Fri, 19 Apr 2024 14:35:35 +0100 Subject: [PATCH] update openapi specs and generated endpoints --- public/api-merged.json | 6 ++---- public/app/features/migrate-to-cloud/api/endpoints.gen.ts | 4 ++-- public/openapi3.json | 6 ++---- 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/public/api-merged.json b/public/api-merged.json index 39c630e3483..9a7e94be3a9 100644 --- a/public/api-merged.json +++ b/public/api-merged.json @@ -2388,8 +2388,7 @@ "operationId": "deleteCloudMigration", "parameters": [ { - "type": "integer", - "format": "int64", + "type": "string", "description": "UID of a migration", "name": "uid", "in": "path", @@ -2418,8 +2417,7 @@ "operationId": "getCloudMigrationRunList", "parameters": [ { - "type": "integer", - "format": "int64", + "type": "string", "description": "UID of a migration", "name": "uid", "in": "path", diff --git a/public/app/features/migrate-to-cloud/api/endpoints.gen.ts b/public/app/features/migrate-to-cloud/api/endpoints.gen.ts index 99aa5740bd8..29d3b8c183c 100644 --- a/public/app/features/migrate-to-cloud/api/endpoints.gen.ts +++ b/public/app/features/migrate-to-cloud/api/endpoints.gen.ts @@ -41,7 +41,7 @@ export type CreateMigrationApiArg = { export type DeleteCloudMigrationApiResponse = unknown; export type DeleteCloudMigrationApiArg = { /** UID of a migration */ - uid: number; + uid: string; }; export type GetCloudMigrationApiResponse = /** status 200 (empty) */ CloudMigrationResponse; export type GetCloudMigrationApiArg = { @@ -51,7 +51,7 @@ export type GetCloudMigrationApiArg = { export type GetCloudMigrationRunListApiResponse = /** status 200 (empty) */ CloudMigrationRunList; export type GetCloudMigrationRunListApiArg = { /** UID of a migration */ - uid: number; + uid: string; }; export type RunCloudMigrationApiResponse = /** status 200 (empty) */ MigrateDataResponseDto; export type RunCloudMigrationApiArg = { diff --git a/public/openapi3.json b/public/openapi3.json index 17376f99db3..0b10f5b2011 100644 --- a/public/openapi3.json +++ b/public/openapi3.json @@ -14867,8 +14867,7 @@ "name": "uid", "required": true, "schema": { - "format": "int64", - "type": "integer" + "type": "string" } } ], @@ -14932,8 +14931,7 @@ "name": "uid", "required": true, "schema": { - "format": "int64", - "type": "integer" + "type": "string" } } ],