expose star activity to swagger

forgejo-federated-star
Michael Jerger 6 months ago
parent 874664ad76
commit 90b8d75590

@ -27,7 +27,7 @@ var KnownSourceTypes = SourceTypes{
}
// Star activity data type
// swagger: model
// swagger:model
type Star struct {
// swagger:ignore
ap.Activity

@ -21,7 +21,7 @@
},
"version": "{{AppVer | JSEscape | Safe}}"
},
"basePath": "/api/v1",
"basePath": "{{AppSubUrl | JSEscape | Safe}}/api/v1",
"paths": {
"/activitypub/repository-id/{repository-id}": {
"get": {
@ -22357,7 +22357,7 @@
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
},
"Star": {
"description": "Star activity for adding a star to an repository",
"description": "Star activity data type",
"type": "object",
"properties": {
"Source": {
@ -24245,4 +24245,4 @@
"TOTPHeader": []
}
]
}
}

Loading…
Cancel
Save