diff --git a/specification/cluster/put_component_template/examples/request/ClusterPutComponentTemplateRequestExample1.yaml b/specification/cluster/put_component_template/examples/request/ClusterPutComponentTemplateRequestExample1.yaml index 1e8407935b..ba540b236d 100644 --- a/specification/cluster/put_component_template/examples/request/ClusterPutComponentTemplateRequestExample1.yaml +++ b/specification/cluster/put_component_template/examples/request/ClusterPutComponentTemplateRequestExample1.yaml @@ -4,14 +4,14 @@ method_request: PUT _component_template/template_1 # type: request value: template: - settings: - number_of_shards: 1 - mappings: - _source: - enabled: false - properties: - host_name: - type: keyword - created_at: - type: date - format: 'EEE MMM dd HH:mm:ss Z yyyy' + settings: + number_of_shards: 1 + mappings: + _source: + enabled: false + properties: + host_name: + type: keyword + created_at: + type: date + format: 'EEE MMM dd HH:mm:ss Z yyyy' diff --git a/specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml b/specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml index 227c451388..aa3a2bf52a 100644 --- a/specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml +++ b/specification/indices/put_template/examples/request/indicesPutTemplateRequestExample1.yaml @@ -11,9 +11,9 @@ value: mappings: _source: enabled: false - properties: - host_name: - type: keyword - created_at: - type: date - format: 'EEE MMM dd HH:mm:ss Z yyyy' + properties: + host_name: + type: keyword + created_at: + type: date + format: 'EEE MMM dd HH:mm:ss Z yyyy' diff --git a/specification/indices/reload_search_analyzers/examples/request/ReloadSearchAnalyzersRequestExample1.yaml b/specification/indices/reload_search_analyzers/examples/request/ReloadSearchAnalyzersRequestExample1.yaml index 0c9fb35bf3..ca3f51e07c 100644 --- a/specification/indices/reload_search_analyzers/examples/request/ReloadSearchAnalyzersRequestExample1.yaml +++ b/specification/indices/reload_search_analyzers/examples/request/ReloadSearchAnalyzersRequestExample1.yaml @@ -1,15 +1 @@ -# summary: method_request: POST /my-index-000001/_reload_search_analyzers -# description: '' -# type: request -value: - _shards: - total: 2 - successful: 2 - failed: 0 - reload_details: - - index: my-index-000001 - reloaded_analyzers: - - my_synonyms - reloaded_node_ids: - - mfdqTXn_T7SGr2Ho2KT8uw diff --git a/specification/indices/reload_search_analyzers/examples/response/ReloadSearchAnalyzersResponseExample1.yaml b/specification/indices/reload_search_analyzers/examples/response/ReloadSearchAnalyzersResponseExample1.yaml new file mode 100644 index 0000000000..4c23bc6d1e --- /dev/null +++ b/specification/indices/reload_search_analyzers/examples/response/ReloadSearchAnalyzersResponseExample1.yaml @@ -0,0 +1,17 @@ +# summary: +description: A successful response when reloading a search analyzer of an index. +# type: response +# response_code: 200 +value: + template: + settings: + number_of_shards: 1 + mappings: + _source: + enabled: false + properties: + host_name: + type: keyword + created_at: + type: date + format: 'EEE MMM dd HH:mm:ss Z yyyy'