[docs] Use correct form for status submit (#915)

This commit is contained in:
tobi
2022-10-17 12:54:36 +02:00
committed by GitHub
parent f7416d6e94
commit ccd5b34c2c
2 changed files with 94 additions and 163 deletions

View File

@ -139,7 +139,7 @@ type StatusReblogged struct {
// StatusCreateRequest models status creation parameters.
//
// swagger:parameters statusCreate
// swagger:model statusCreateRequest
type StatusCreateRequest struct {
// Text content of the status.
// If media_ids is provided, this becomes optional.
@ -205,7 +205,7 @@ const (
// AdvancedStatusCreateForm wraps the mastodon-compatible status create form along with the GTS advanced
// visibility settings.
//
// swagger:model advancedStatusCreateForm
// swagger:parameters statusCreate
type AdvancedStatusCreateForm struct {
StatusCreateRequest
AdvancedVisibilityFlagsForm