From f5eee56bb13aee64557fa4358ace9c1cd2965f7f Mon Sep 17 00:00:00 2001 From: Vyr Cossont Date: Sat, 1 Feb 2025 17:14:49 -0800 Subject: [bugfix] Swagger: fix media_ids[] param for creating statuses (#3722) --- internal/api/client/statuses/statuscreate.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'internal/api/client/statuses/statuscreate.go') 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 -- cgit v1.2.3