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 @@ Create or update roles. The role management APIs are generally the preferred way
[source,ts]
----
interface SecurityPutRoleRequest extends <<shared-type-request-base, RequestBase>> {
name: <<shared-type-name, Name>>
refresh?: <<shared-type-refresh, Refresh>>
interface SecurityPutRoleRequest extends <<RequestBase>> {
name: <<Name>>
refresh?: <<Refresh>>
applications?: SecurityApplicationPrivileges[]
cluster?: SecurityClusterPrivilege[]
global?: Record<string, any>
indices?: SecurityIndicesPrivileges[]
remote_indices?: SecurityRemoteIndicesPrivileges[]
metadata?: <<shared-type-metadata, Metadata>>
metadata?: <<Metadata>>
run_as?: string[]
description?: string
transient_metadata?: Record<string, any>