mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 02:02:25 -05:00
[chore] Swagger: correct names and formats for several array params (#2758)
No code changes.
This commit is contained in:
parent
9b94b1faa2
commit
efbc8151db
4 changed files with 15 additions and 9 deletions
|
|
@ -3353,11 +3353,12 @@ paths:
|
|||
get:
|
||||
operationId: accountRelationships
|
||||
parameters:
|
||||
- description: Account IDs.
|
||||
- collectionFormat: multi
|
||||
description: Account IDs.
|
||||
in: query
|
||||
items:
|
||||
type: string
|
||||
name: id
|
||||
name: id[]
|
||||
required: true
|
||||
type: array
|
||||
produces:
|
||||
|
|
@ -6067,11 +6068,12 @@ paths:
|
|||
name: id
|
||||
required: true
|
||||
type: string
|
||||
- description: Array of accountIDs to modify. Each accountID must correspond to an account that the requesting account follows.
|
||||
- collectionFormat: multi
|
||||
description: Array of accountIDs to modify. Each accountID must correspond to an account that the requesting account follows.
|
||||
in: formData
|
||||
items:
|
||||
type: string
|
||||
name: account_ids
|
||||
name: account_ids[]
|
||||
required: true
|
||||
type: array
|
||||
produces:
|
||||
|
|
@ -6171,11 +6173,12 @@ paths:
|
|||
name: id
|
||||
required: true
|
||||
type: string
|
||||
- description: Array of accountIDs to modify. Each accountID must correspond to an account that the requesting account follows.
|
||||
- collectionFormat: multi
|
||||
description: Array of accountIDs to modify. Each accountID must correspond to an account that the requesting account follows.
|
||||
in: formData
|
||||
items:
|
||||
type: string
|
||||
name: account_ids
|
||||
name: account_ids[]
|
||||
required: true
|
||||
type: array
|
||||
produces:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue