[chore] Swagger: correct names and formats for several array params (#2758)

No code changes.
This commit is contained in:
Vyr Cossont 2024-03-15 03:31:58 -07:00 committed by GitHub
parent 9b94b1faa2
commit efbc8151db
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 15 additions and 9 deletions

View file

@ -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:

View file

@ -41,12 +41,13 @@ import (
//
// parameters:
// -
// name: id
// name: id[]
// type: array
// items:
// type: string
// description: Account IDs.
// in: query
// collectionFormat: multi
// required: true
//
// security:

View file

@ -52,7 +52,7 @@ import (
// in: path
// required: true
// -
// name: account_ids
// name: account_ids[]
// type: array
// items:
// type: string
@ -61,6 +61,7 @@ import (
// Each accountID must correspond to an account
// that the requesting account follows.
// in: formData
// collectionFormat: multi
// required: true
//
// security:

View file

@ -52,7 +52,7 @@ import (
// in: path
// required: true
// -
// name: account_ids
// name: account_ids[]
// type: array
// items:
// type: string
@ -61,6 +61,7 @@ import (
// Each accountID must correspond to an account
// that the requesting account follows.
// in: formData
// collectionFormat: multi
// required: true
//
// security: