summaryrefslogtreecommitdiff
path: root/internal/api/model/status.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2022-10-17 12:54:36 +0200
committerLibravatar GitHub <noreply@github.com>2022-10-17 12:54:36 +0200
commitccd5b34c2cf4cb913488969cd8aa5e70e69d7acf (patch)
tree8f4d438fb251ac0d06f12624b15bb66b2fc8e4d3 /internal/api/model/status.go
parent[feature] Add emoji DELETE handler at `/api/v1/admin/custom_emojis` (#913) (diff)
downloadgotosocial-ccd5b34c2cf4cb913488969cd8aa5e70e69d7acf.tar.xz
[docs] Use correct form for status submit (#915)
Diffstat (limited to 'internal/api/model/status.go')
-rw-r--r--internal/api/model/status.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/api/model/status.go b/internal/api/model/status.go
index 2abe5af1b..e63ea610e 100644
--- a/internal/api/model/status.go
+++ b/internal/api/model/status.go
@@ -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