diff options
author | 2025-02-01 17:14:49 -0800 | |
---|---|---|
committer | 2025-02-01 17:14:49 -0800 | |
commit | f5eee56bb13aee64557fa4358ace9c1cd2965f7f (patch) | |
tree | 3b56c48bf8bab96a7b5dd92b0fedea473d392b01 /internal/api | |
parent | [feature] Add `instance-stats-randomize` config option (#3718) (diff) | |
download | gotosocial-f5eee56bb13aee64557fa4358ace9c1cd2965f7f.tar.xz |
[bugfix] Swagger: fix media_ids[] param for creating statuses (#3722)
Diffstat (limited to 'internal/api')
-rw-r--r-- | internal/api/client/statuses/statuscreate.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/internal/api/client/statuses/statuscreate.go b/internal/api/client/statuses/statuscreate.go index c83cdbad7..d187e823f 100644 --- a/internal/api/client/statuses/statuscreate.go +++ b/internal/api/client/statuses/statuscreate.go @@ -75,7 +75,7 @@ import ( // type: string // in: formData // - -// name: media_ids +// name: media_ids[] // x-go-name: MediaIDs // description: |- // Array of Attachment ids to be attached as media. @@ -87,6 +87,8 @@ import ( // items: // type: string // in: formData +// collectionFormat: multi +// uniqueItems: true // - // name: poll[options][] // x-go-name: PollOptions @@ -97,6 +99,8 @@ import ( // items: // type: string // in: formData +// collectionFormat: multi +// uniqueItems: true // - // name: poll[expires_in] // x-go-name: PollExpiresIn |