Update swagger and match style

This commit is contained in:
pnwmatt 2025-02-06 18:33:50 -08:00
commit 9dc1ecbec9
No known key found for this signature in database
2 changed files with 6 additions and 3 deletions

View file

@ -301,8 +301,7 @@ definitions:
type: integer
x-go-name: FollowingCount
group:
description: Indicates that the account represents a Group actor.
format: boolean
description: Account identifies as a Group actor.
type: boolean
x-go-name: Group
header:
@ -2444,6 +2443,10 @@ definitions:
format: int64
type: integer
x-go-name: FollowingCount
group:
description: Account identifies as a Group actor.
type: boolean
x-go-name: Group
header:
description: Web location of the account's header image.
example: https://example.org/media/some_user/header/original/header.jpeg

View file

@ -126,7 +126,7 @@ type Account struct {
// If set, indicates that this account is currently inactive, and has migrated to the given account.
// Key/value omitted for accounts that haven't moved, and for suspended accounts.
Moved *Account `json:"moved,omitempty"`
// Account identifies as a Group actor
// Account identifies as a Group actor.
Group bool `json:"group"`
}