diff options
author | 2024-03-15 03:31:58 -0700 | |
---|---|---|
committer | 2024-03-15 11:31:58 +0100 | |
commit | efbc8151db611a051deaf9aa068814331eb6ba89 (patch) | |
tree | af93429f4f8a190c3b01c5150716997e83079ce7 /docs/api | |
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 'docs/api')
-rw-r--r-- | docs/api/swagger.yaml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index 8bd6e3725..ad23d9e84 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -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: |