mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-23 21:26:15 -06:00
Update swagger and match style
This commit is contained in:
parent
d9c04216ae
commit
9dc1ecbec9
2 changed files with 6 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue