mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-22 09:54:24 +01:00
expose star activity to swagger
This commit is contained in:
parent
dc1a82bf4c
commit
07cf963af3
16
templates/swagger/v1_json.tmpl
generated
16
templates/swagger/v1_json.tmpl
generated
|
@ -21,7 +21,7 @@
|
|||
},
|
||||
"version": "{{AppVer | JSEscape | Safe}}"
|
||||
},
|
||||
"basePath": "{{AppSubUrl | JSEscape | Safe}}/api/v1",
|
||||
"basePath": "/api/v1",
|
||||
"paths": {
|
||||
"/activitypub/repository-id/{repository-id}": {
|
||||
"get": {
|
||||
|
@ -23178,6 +23178,20 @@
|
|||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/structs"
|
||||
},
|
||||
"SourceType": {
|
||||
"type": "string",
|
||||
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
|
||||
},
|
||||
"Star": {
|
||||
"description": "Star activity for adding a star to an repository",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Source": {
|
||||
"$ref": "#/definitions/SourceType"
|
||||
}
|
||||
},
|
||||
"x-go-package": "code.gitea.io/gitea/modules/forgefed"
|
||||
},
|
||||
"StateType": {
|
||||
"description": "StateType issue state type",
|
||||
"type": "string",
|
||||
|
|
Loading…
Reference in a new issue