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/admin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'internal/api/model/admin.go') diff --git a/internal/api/model/admin.go b/internal/api/model/admin.go index 036218f77..301c4efa9 100644 --- a/internal/api/model/admin.go +++ b/internal/api/model/admin.go @@ -18,7 +18,7 @@ package model -// AdminAccountInfo represents the *admin* view of an account's details. See here: https://docs.joinmastodon.org/entities/admin-account/ +// AdminAccountInfo models the admin view of an account's details. type AdminAccountInfo struct { // The ID of the account in the database. ID string `json:"id"` @@ -56,7 +56,7 @@ type AdminAccountInfo struct { InvitedByAccountID string `json:"invited_by_account_id"` } -// AdminReportInfo represents the *admin* view of a report. See here: https://docs.joinmastodon.org/entities/admin-report/ +// AdminReportInfo models the admin view of a report. type AdminReportInfo struct { // The ID of the report in the database. ID string `json:"id"` -- cgit v1.2.3