mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 03:12:24 -05:00
Frodo swaggins (#126)
* more swagger fun * document a whole bunch more stuff * more swagger yayyyyyyy * progress + go fmt
This commit is contained in:
parent
cb85f65cca
commit
0386a28b5a
58 changed files with 3289 additions and 469 deletions
|
|
@ -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"`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue