mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-01 06:50:00 +00: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:
|
get:
|
||||||
operationId: accountRelationships
|
operationId: accountRelationships
|
||||||
parameters:
|
parameters:
|
||||||
- description: Account IDs.
|
- collectionFormat: multi
|
||||||
|
description: Account IDs.
|
||||||
in: query
|
in: query
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
name: id
|
name: id[]
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
produces:
|
produces:
|
||||||
|
@ -6067,11 +6068,12 @@ paths:
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
type: string
|
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
|
in: formData
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
name: account_ids
|
name: account_ids[]
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
produces:
|
produces:
|
||||||
|
@ -6171,11 +6173,12 @@ paths:
|
||||||
name: id
|
name: id
|
||||||
required: true
|
required: true
|
||||||
type: string
|
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
|
in: formData
|
||||||
items:
|
items:
|
||||||
type: string
|
type: string
|
||||||
name: account_ids
|
name: account_ids[]
|
||||||
required: true
|
required: true
|
||||||
type: array
|
type: array
|
||||||
produces:
|
produces:
|
||||||
|
|
|
@ -41,12 +41,13 @@
|
||||||
//
|
//
|
||||||
// parameters:
|
// parameters:
|
||||||
// -
|
// -
|
||||||
// name: id
|
// name: id[]
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type: string
|
// type: string
|
||||||
// description: Account IDs.
|
// description: Account IDs.
|
||||||
// in: query
|
// in: query
|
||||||
|
// collectionFormat: multi
|
||||||
// required: true
|
// required: true
|
||||||
//
|
//
|
||||||
// security:
|
// security:
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
// in: path
|
// in: path
|
||||||
// required: true
|
// required: true
|
||||||
// -
|
// -
|
||||||
// name: account_ids
|
// name: account_ids[]
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type: string
|
// type: string
|
||||||
|
@ -61,6 +61,7 @@
|
||||||
// Each accountID must correspond to an account
|
// Each accountID must correspond to an account
|
||||||
// that the requesting account follows.
|
// that the requesting account follows.
|
||||||
// in: formData
|
// in: formData
|
||||||
|
// collectionFormat: multi
|
||||||
// required: true
|
// required: true
|
||||||
//
|
//
|
||||||
// security:
|
// security:
|
||||||
|
|
|
@ -52,7 +52,7 @@
|
||||||
// in: path
|
// in: path
|
||||||
// required: true
|
// required: true
|
||||||
// -
|
// -
|
||||||
// name: account_ids
|
// name: account_ids[]
|
||||||
// type: array
|
// type: array
|
||||||
// items:
|
// items:
|
||||||
// type: string
|
// type: string
|
||||||
|
@ -61,6 +61,7 @@
|
||||||
// Each accountID must correspond to an account
|
// Each accountID must correspond to an account
|
||||||
// that the requesting account follows.
|
// that the requesting account follows.
|
||||||
// in: formData
|
// in: formData
|
||||||
|
// collectionFormat: multi
|
||||||
// required: true
|
// required: true
|
||||||
//
|
//
|
||||||
// security:
|
// security:
|
||||||
|
|
Loading…
Reference in a new issue