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,13 +45,13 @@ Grant an API key. Create an API key on behalf of another user. This API is simil
[source,ts]
----
interface SecurityGrantApiKeyRequest extends <<shared-type-request-base, RequestBase>> {
interface SecurityGrantApiKeyRequest extends <<RequestBase>> {
api_key: SecurityGrantApiKeyGrantApiKey
grant_type: SecurityGrantApiKeyApiKeyGrantType
access_token?: string
username?: <<shared-type-username, Username>>
password?: <<shared-type-password, Password>>
run_as?: <<shared-type-username, Username>>
username?: <<Username>>
password?: <<Password>>
run_as?: <<Username>>
}
----
@ -62,9 +62,9 @@ interface SecurityGrantApiKeyRequest extends <<shared-type-request-base, Request
----
interface SecurityGrantApiKeyResponse {
api_key: string
id: <<shared-type-id, Id>>
name: <<shared-type-name, Name>>
expiration?: <<shared-type-epoch-time, EpochTime>><<<shared-type-unit-millis, UnitMillis>>>
id: <<Id>>
name: <<Name>>
expiration?: <<EpochTime>><<<UnitMillis>>>
encoded: string
}
----