Return an object as the root element
Because otherwise it's impossible to change later
This commit is contained in:
parent
42834340e7
commit
4fafe1ab73
1 changed files with 76 additions and 69 deletions
|
@ -30,7 +30,8 @@ paths:
|
||||||
description: The pushers for this user
|
description: The pushers for this user
|
||||||
examples:
|
examples:
|
||||||
application/json: |-
|
application/json: |-
|
||||||
[
|
{
|
||||||
|
"pushers": [
|
||||||
{
|
{
|
||||||
"pushkey": "Xp/MzCt8/9DcSNE9cuiaoT5Ac55job3TdLSSmtmYl4A=",
|
"pushkey": "Xp/MzCt8/9DcSNE9cuiaoT5Ac55job3TdLSSmtmYl4A=",
|
||||||
"kind": "http",
|
"kind": "http",
|
||||||
|
@ -44,9 +45,15 @@ paths:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
}
|
||||||
schema:
|
schema:
|
||||||
|
type: object
|
||||||
|
properties:
|
||||||
|
pushers:
|
||||||
type: array
|
type: array
|
||||||
title: Pushers
|
title: Pushers
|
||||||
|
description: |-
|
||||||
|
An array containing the current pushers for the user
|
||||||
items:
|
items:
|
||||||
type: object
|
type: object
|
||||||
title: Pusher
|
title: Pusher
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue