diff --git a/docs/overlays/elasticsearch-openapi-overlays.yaml b/docs/overlays/elasticsearch-openapi-overlays.yaml index 20cee553e6..a163f41de2 100644 --- a/docs/overlays/elasticsearch-openapi-overlays.yaml +++ b/docs/overlays/elasticsearch-openapi-overlays.yaml @@ -493,16 +493,17 @@ actions: examples: getIndicesRecoveryResponseExample1: $ref: "../../specification/indices/recovery/examples/200_response/indicesRecoveryResponseExample1.yaml" - - target: "$.paths['/_resolve/cluster/{name}']['get']" + - target: "$.components['responses']['indices.resolve_cluster#200']" description: "Add examples for resolve cluster operation" update: responses: - 200: - content: - application/json: - examples: - resolveClusterResponseExample1: - $ref: "../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml" + content: + application/json: + examples: + resolveClusterResponseExample1: + $ref: "../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml" + resolveClusterResponseExample2: + $ref: "../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample2.yaml" - target: "$.components['requestBodies']['indices.shrink']" description: "Add example for shrink index request" update: diff --git a/output/openapi/elasticsearch-openapi.json b/output/openapi/elasticsearch-openapi.json index 3cbf8b4875..8f6ab9a711 100644 --- a/output/openapi/elasticsearch-openapi.json +++ b/output/openapi/elasticsearch-openapi.json @@ -66107,7 +66107,7 @@ "type": "number" }, "cluster_credentials": { - "description": "This field presents and has value of ::es_redacted:: only when the remote cluster is configured with the API key based model. Otherwise, the field is not present.", + "description": "This field is present and has a value of `::es_redacted::` only when the remote cluster is configured with the API key based model. Otherwise, the field is not present.", "type": "string" } }, diff --git a/output/schema/schema.json b/output/schema/schema.json index de2ff876c5..414d763965 100644 --- a/output/schema/schema.json +++ b/output/schema/schema.json @@ -111610,7 +111610,7 @@ } }, { - "description": "This field presents and has value of ::es_redacted:: only when the remote cluster is configured with the API key based model. Otherwise, the field is not present.", + "description": "This field is present and has a value of `::es_redacted::` only when the remote cluster is configured with the API key based model. Otherwise, the field is not present.", "name": "cluster_credentials", "required": false, "type": { diff --git a/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts b/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts index 3afe6d055b..25790ba838 100644 --- a/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts +++ b/specification/cluster/remote_info/ClusterRemoteInfoResponse.ts @@ -78,6 +78,6 @@ export class ClusterRemoteProxyInfo { num_proxy_sockets_connected: integer /** The maximum number of socket connections to the remote cluster when proxy mode is configured. */ max_proxy_socket_connections: integer - /** This field presents and has value of ::es_redacted:: only when the remote cluster is configured with the API key based model. Otherwise, the field is not present. */ + /** This field is present and has a value of `::es_redacted::` only when the remote cluster is configured with the API key based model. Otherwise, the field is not present. */ cluster_credentials?: string }