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
|
||||
examples:
|
||||
application/json: |-
|
||||
[
|
||||
{
|
||||
"pushers": [
|
||||
{
|
||||
"pushkey": "Xp/MzCt8/9DcSNE9cuiaoT5Ac55job3TdLSSmtmYl4A=",
|
||||
"kind": "http",
|
||||
|
@ -44,9 +45,15 @@ paths:
|
|||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
schema:
|
||||
type: object
|
||||
properties:
|
||||
pushers:
|
||||
type: array
|
||||
title: Pushers
|
||||
description: |-
|
||||
An array containing the current pushers for the user
|
||||
items:
|
||||
type: object
|
||||
title: Pusher
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue