From 0386a28b5a3c4212320e8a96ddd14c54b65a2090 Mon Sep 17 00:00:00 2001 From: Tobi Smethurst <31960611+tsmethurst@users.noreply.github.com> Date: Mon, 2 Aug 2021 19:06:44 +0200 Subject: Frodo swaggins (#126) * more swagger fun * document a whole bunch more stuff * more swagger yayyyyyyy * progress + go fmt --- internal/api/model/context.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'internal/api/model/context.go') diff --git a/internal/api/model/context.go b/internal/api/model/context.go index d0979319b..66e17b185 100644 --- a/internal/api/model/context.go +++ b/internal/api/model/context.go @@ -18,7 +18,9 @@ package model -// Context represents the tree around a given status. Used for reconstructing threads of statuses. See: https://docs.joinmastodon.org/entities/context/ +// Context models the tree around a given status. +// +// swagger:model statusContext type Context struct { // Parents in the thread. Ancestors []Status `json:"ancestors"` -- cgit v1.2.3