forked from kevadesu/forgejo
use star as swagger model
This commit is contained in:
parent
18f4c514ec
commit
dc1a82bf4c
4 changed files with 19 additions and 2 deletions
|
@ -25,7 +25,10 @@ var KnownSourceTypes = SourceTypes{
|
|||
ForgejoSourceType,
|
||||
}
|
||||
|
||||
// Star activity for adding a star to an repository
|
||||
// swagger:model
|
||||
type Star struct {
|
||||
// swagger: ignore
|
||||
ap.Activity
|
||||
// Source identifies the system generated this Activity. Exact one value has to be specified.
|
||||
Source SourceType `jsonld:"source,omitempty"`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue