From 35421cb5b3fb5dcb7ea092e62fda82c0622976c6 Mon Sep 17 00:00:00 2001 From: Sylvain Wallez Date: Thu, 30 Jan 2025 19:14:39 +0100 Subject: [PATCH] Move jdoc tag at the end (otherwise it grabs all text) --- output/schema/schema-serverless.json | 4 ++-- output/schema/schema.json | 4 ++-- .../_global/msearch_template/MultiSearchTemplateRequest.ts | 3 ++- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/output/schema/schema-serverless.json b/output/schema/schema-serverless.json index 86665ba457..970ce10f42 100644 --- a/output/schema/schema-serverless.json +++ b/output/schema/schema-serverless.json @@ -34823,7 +34823,7 @@ "CommonQueryParameters" ], "body": { - "codegenName": "search_templates\nThe request body must be newline-delimited JSON (NDJSON) in the following format:\n\n```\n
\\n\n\\n\n
\\n\n\\n\n```\n\nEach `
` and `` pair represents a search request.\nThe `
` supports the same parameters as the multi search API's `
`.\nThe `` supports the same parameters as the search template API's request body.\n\nThe `
` contains the parameters used to limit or change the search.\nIt is required for each search body but can be empty `({})` or a blank line.\n\nThe `` contains the parameters for the search.", + "codegenName": "search_templates", "kind": "value", "value": { "kind": "array_of", @@ -34927,7 +34927,7 @@ } } ], - "specLocation": "_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L115" + "specLocation": "_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L116" }, { "body": { diff --git a/output/schema/schema.json b/output/schema/schema.json index 7bcbf202d3..a41d93d33a 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -30822,7 +30822,7 @@ ], "body": { "kind": "value", - "codegenName": "search_templates\nThe request body must be newline-delimited JSON (NDJSON) in the following format:\n\n```\n
\\n\n\\n\n
\\n\n\\n\n```\n\nEach `
` and `` pair represents a search request.\nThe `
` supports the same parameters as the multi search API's `
`.\nThe `` supports the same parameters as the search template API's request body.\n\nThe `
` contains the parameters used to limit or change the search.\nIt is required for each search body but can be empty `({})` or a blank line.\n\nThe `` contains the parameters for the search.", + "codegenName": "search_templates", "value": { "kind": "array_of", "value": { @@ -30924,7 +30924,7 @@ } } ], - "specLocation": "_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L115" + "specLocation": "_global/msearch_template/MultiSearchTemplateRequest.ts#L25-L116" }, { "kind": "type_alias", diff --git a/specification/_global/msearch_template/MultiSearchTemplateRequest.ts b/specification/_global/msearch_template/MultiSearchTemplateRequest.ts index 7fbcdf4e54..8a3656d145 100644 --- a/specification/_global/msearch_template/MultiSearchTemplateRequest.ts +++ b/specification/_global/msearch_template/MultiSearchTemplateRequest.ts @@ -92,7 +92,6 @@ export interface Request extends RequestBase { typed_keys?: boolean } /** - * @codegen_name search_templates * The request body must be newline-delimited JSON (NDJSON) in the following format: * * ``` @@ -110,6 +109,8 @@ export interface Request extends RequestBase { * It is required for each search body but can be empty `({})` or a blank line. * * The `` contains the parameters for the search. + * + * @codegen_name search_templates */ body: Array }