[bugfix/docs] Poll api fixups + swagger docs (#2345)

This commit is contained in:
tobi
2023-11-09 13:06:37 +01:00
committed by GitHub
parent b1c65ed9ac
commit 42a19cf390
5 changed files with 93 additions and 14 deletions

View File

@ -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