mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 06:02:26 -05:00
[bugfix/docs] Poll api fixups + swagger docs (#2345)
This commit is contained in:
parent
b1c65ed9ac
commit
42a19cf390
5 changed files with 93 additions and 14 deletions
|
|
@ -155,7 +155,7 @@ type StatusCreateRequest struct {
|
|||
// in: formData
|
||||
MediaIDs []string `form:"media_ids[]" json:"media_ids" xml:"media_ids"`
|
||||
// Poll to include with this status.
|
||||
// swagger:ignore
|
||||
// in: formData
|
||||
Poll *PollRequest `form:"poll" json:"poll" xml:"poll"`
|
||||
// ID of the status being replied to, if status is a reply.
|
||||
// in: formData
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue