Skip to content

Commit f37de4e

Browse files
authored
[DOCS] Fix overlay for resolve cluster (#3670)
1 parent c9adece commit f37de4e

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

docs/overlays/elasticsearch-openapi-overlays.yaml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -493,16 +493,17 @@ actions:
493493
examples:
494494
getIndicesRecoveryResponseExample1:
495495
$ref: "../../specification/indices/recovery/examples/200_response/indicesRecoveryResponseExample1.yaml"
496-
- target: "$.paths['/_resolve/cluster/{name}']['get']"
496+
- target: "$.components['responses']['indices.resolve_cluster#200']"
497497
description: "Add examples for resolve cluster operation"
498498
update:
499499
responses:
500-
200:
501-
content:
502-
application/json:
503-
examples:
504-
resolveClusterResponseExample1:
505-
$ref: "../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml"
500+
content:
501+
application/json:
502+
examples:
503+
resolveClusterResponseExample1:
504+
$ref: "../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample1.yaml"
505+
resolveClusterResponseExample2:
506+
$ref: "../../specification/indices/resolve_cluster/examples/200_response/ResolveClusterResponseExample2.yaml"
506507
- target: "$.components['requestBodies']['indices.shrink']"
507508
description: "Add example for shrink index request"
508509
update:

output/openapi/elasticsearch-openapi.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/cluster/remote_info/ClusterRemoteInfoResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,6 @@ export class ClusterRemoteProxyInfo {
7878
num_proxy_sockets_connected: integer
7979
/** The maximum number of socket connections to the remote cluster when proxy mode is configured. */
8080
max_proxy_socket_connections: integer
81-
/** 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. */
81+
/** 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. */
8282
cluster_credentials?: string
8383
}

0 commit comments

Comments
 (0)