[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
commit ccd5b34c2c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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