aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorKyle D <kdumontnu@gmail.com>2021-04-15 10:53:57 -0600
committerGitHub <noreply@github.com>2021-04-15 18:53:57 +0200
commitf44543a1bb776fa8bdfd3b605d67197d1466eb20 (patch)
treeb9a014285b40c3eb45dd90bcafa7ccc17c1031d8 /templates/swagger
parentaf2adb4e35ea71ca5c7fbb1e51b9d25fe49af2e4 (diff)
downloadgitea-f44543a1bb776fa8bdfd3b605d67197d1466eb20.tar.gz
gitea-f44543a1bb776fa8bdfd3b605d67197d1466eb20.zip
Disable Stars config option (#14653)
* Add config option to disable stars * Replace "stars" with watched in user profile * Add documentation
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index b548f25f4f..5aeed4a30f 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -14151,6 +14151,10 @@
"type": "boolean",
"x-go-name": "MirrorsDisabled"
},
+ "stars_disabled": {
+ "type": "boolean",
+ "x-go-name": "StarsDisabled"
+ },
"time_tracking_disabled": {
"type": "boolean",
"x-go-name": "TimeTrackingDisabled"