diff options
author | 2024-03-15 03:31:58 -0700 | |
---|---|---|
committer | 2024-03-15 11:31:58 +0100 | |
commit | efbc8151db611a051deaf9aa068814331eb6ba89 (patch) | |
tree | af93429f4f8a190c3b01c5150716997e83079ce7 /internal/api/client | |
parent | [docs] Add database maintenance section; update info message on ANALYZE run (... (diff) | |
download | gotosocial-efbc8151db611a051deaf9aa068814331eb6ba89.tar.xz |
[chore] Swagger: correct names and formats for several array params (#2758)
No code changes.
Diffstat (limited to 'internal/api/client')
-rw-r--r-- | internal/api/client/accounts/relationships.go | 3 | ||||
-rw-r--r-- | internal/api/client/lists/listaccountsadd.go | 3 | ||||
-rw-r--r-- | internal/api/client/lists/listaccountsremove.go | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/internal/api/client/accounts/relationships.go b/internal/api/client/accounts/relationships.go index dfe8c1721..30d7dd666 100644 --- a/internal/api/client/accounts/relationships.go +++ b/internal/api/client/accounts/relationships.go @@ -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: diff --git a/internal/api/client/lists/listaccountsadd.go b/internal/api/client/lists/listaccountsadd.go index e20056502..168c5e3fe 100644 --- a/internal/api/client/lists/listaccountsadd.go +++ b/internal/api/client/lists/listaccountsadd.go @@ -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: diff --git a/internal/api/client/lists/listaccountsremove.go b/internal/api/client/lists/listaccountsremove.go index 50e53a3a3..96f8b809d 100644 --- a/internal/api/client/lists/listaccountsremove.go +++ b/internal/api/client/lists/listaccountsremove.go @@ -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: |