mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-27 22:06: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
|
type: integer
|
||||||
x-go-name: FollowingCount
|
x-go-name: FollowingCount
|
||||||
group:
|
group:
|
||||||
description: Indicates that the account represents a Group actor.
|
description: Account identifies as a Group actor.
|
||||||
format: boolean
|
|
||||||
type: boolean
|
type: boolean
|
||||||
x-go-name: Group
|
x-go-name: Group
|
||||||
header:
|
header:
|
||||||
|
|
@ -2444,6 +2443,10 @@ definitions:
|
||||||
format: int64
|
format: int64
|
||||||
type: integer
|
type: integer
|
||||||
x-go-name: FollowingCount
|
x-go-name: FollowingCount
|
||||||
|
group:
|
||||||
|
description: Account identifies as a Group actor.
|
||||||
|
type: boolean
|
||||||
|
x-go-name: Group
|
||||||
header:
|
header:
|
||||||
description: Web location of the account's header image.
|
description: Web location of the account's header image.
|
||||||
example: https://example.org/media/some_user/header/original/header.jpeg
|
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.
|
// 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.
|
// Key/value omitted for accounts that haven't moved, and for suspended accounts.
|
||||||
Moved *Account `json:"moved,omitempty"`
|
Moved *Account `json:"moved,omitempty"`
|
||||||
// Account identifies as a Group actor
|
// Account identifies as a Group actor.
|
||||||
Group bool `json:"group"`
|
Group bool `json:"group"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue