Use section headers for shared types
This commit is contained in:
@ -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>
|
||||
----
|
||||
|
||||
|
||||
Reference in New Issue
Block a user