diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 688fdea7ea..dfe9aa9812 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -21088,7 +21088,8 @@ }, { "in": "query", - "name": "type_query_string", + "name": "type", + "description": "The type of trial license to generate (default: \"trial\")", "deprecated": false, "schema": { "type": "string" diff --git a/output/schema/schema.json b/output/schema/schema.json index 64bdb4ce85..c322c4d220 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -180584,7 +180584,8 @@ } }, { - "name": "type_query_string", + "description": "The type of trial license to generate (default: \"trial\")", + "name": "type", "required": false, "type": { "kind": "instance_of", diff --git a/output/schema/validation-errors.json b/output/schema/validation-errors.json index 5a89720a9f..2cda7cc35e 100644 --- a/output/schema/validation-errors.json +++ b/output/schema/validation-errors.json @@ -281,13 +281,6 @@ ], "response": [] }, - "license.post_start_trial": { - "request": [ - "Request: query parameter 'type_query_string' does not exist in the json spec", - "Request: missing json spec query parameter 'type'" - ], - "response": [] - }, "ml.stop_datafeed": { "request": [ "Request: missing json spec query parameter 'allow_no_datafeeds'" diff --git a/output/typescript/types.ts b/output/typescript/types.ts index fe7cd4032f..32925b61a3 100644 --- a/output/typescript/types.ts +++ b/output/typescript/types.ts @@ -15063,7 +15063,7 @@ export interface LicensePostStartBasicResponse { export interface LicensePostStartTrialRequest extends RequestBase { acknowledge?: boolean - type_query_string?: string + type?: string master_timeout?: Duration } diff --git a/specification/license/post_start_trial/StartTrialLicenseRequest.ts b/specification/license/post_start_trial/StartTrialLicenseRequest.ts index ba1b56f738..ad33b3072a 100644 --- a/specification/license/post_start_trial/StartTrialLicenseRequest.ts +++ b/specification/license/post_start_trial/StartTrialLicenseRequest.ts @@ -42,7 +42,7 @@ export interface Request extends RequestBase { ] query_parameters: { acknowledge?: boolean - type_query_string?: string + type?: string /** * Period to wait for a connection to the master node. * @server_default 30s