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