mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2025-11-02 07:21:02 +00:00
Add swagger comment for MirrorSync (#1747)
* Add swagger comment for MirrorSync * Generate swagger.v1.json
This commit is contained in:
parent
fd6034aaf2
commit
0161e46b5a
2 changed files with 25 additions and 0 deletions
16
public/swagger.v1.json
vendored
16
public/swagger.v1.json
vendored
|
|
@ -228,6 +228,22 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
"/repos/{username}/{reponame}/mirror-sync": {
|
||||
"post": {
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"operationId": "repoMirrorSync",
|
||||
"responses": {
|
||||
"200": {
|
||||
"$ref": "#/responses/empty"
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbidden"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/repos/{username}/{reponame}/subscription": {
|
||||
"get": {
|
||||
"operationId": "userCurrentCheckSubscription",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue