mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 06:32:26 -05:00
[bugfix] Swagger: fix media_ids[] param for creating statuses (#3722)
This commit is contained in:
parent
a55bd6d2bd
commit
f5eee56bb1
2 changed files with 12 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue