Use section headers for shared types

This commit is contained in:
Josh Mock
2024-11-19 12:23:01 -06:00
parent 6151aab208
commit ab21735b57
469 changed files with 2639 additions and 2850 deletions

View File

@ -45,15 +45,15 @@ Get index information. Returns information about one or more indices. For data s
[source,ts]
----
interface IndicesGetRequest extends <<shared-type-request-base, RequestBase>> {
index: <<shared-type-indices, Indices>>
interface IndicesGetRequest extends <<RequestBase>> {
index: <<Indices>>
allow_no_indices?: boolean
expand_wildcards?: <<shared-type-expand-wildcards, ExpandWildcards>>
expand_wildcards?: <<ExpandWildcards>>
flat_settings?: boolean
ignore_unavailable?: boolean
include_defaults?: boolean
local?: boolean
master_timeout?: <<shared-type-duration, Duration>>
master_timeout?: <<Duration>>
features?: IndicesGetFeatures
}
----
@ -63,6 +63,6 @@ interface IndicesGetRequest extends <<shared-type-request-base, RequestBase>> {
[source,ts]
----
type IndicesGetResponse = Record<<<shared-type-index-name, IndexName>>, IndicesIndexState>
type IndicesGetResponse = Record<<<IndexName>>, IndicesIndexState>
----