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,12 +45,12 @@ Clones indices from one snapshot into another snapshot in the same repository.
[source,ts]
----
interface SnapshotCloneRequest extends <<shared-type-request-base, RequestBase>> {
repository: <<shared-type-name, Name>>
snapshot: <<shared-type-name, Name>>
target_snapshot: <<shared-type-name, Name>>
master_timeout?: <<shared-type-duration, Duration>>
timeout?: <<shared-type-duration, Duration>>
interface SnapshotCloneRequest extends <<RequestBase>> {
repository: <<Name>>
snapshot: <<Name>>
target_snapshot: <<Name>>
master_timeout?: <<Duration>>
timeout?: <<Duration>>
indices: string
}
----
@ -60,6 +60,6 @@ interface SnapshotCloneRequest extends <<shared-type-request-base, RequestBase>>
[source,ts]
----
type SnapshotCloneResponse = <<shared-type-acknowledged-response-base, AcknowledgedResponseBase>>
type SnapshotCloneResponse = <<AcknowledgedResponseBase>>
----