diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-12-03 06:53:21 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-03 13:53:21 +0100 |
commit | e306c292ac478c0f09b2c02908e485132669aacb (patch) | |
tree | 8cd8718953a614577da00ee7be6bed0033e76f34 /templates/swagger | |
parent | 056b8f5b52fc0e9ab32f99c016e1ee28975c4bcd (diff) | |
download | gitea-e306c292ac478c0f09b2c02908e485132669aacb.tar.gz gitea-e306c292ac478c0f09b2c02908e485132669aacb.zip |
Expose default theme in meta and API (#13809)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index b121451ba6..bf8467ff27 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -13523,6 +13523,10 @@ "type": "string" }, "x-go-name": "AllowedReactions" + }, + "default_theme": { + "type": "string", + "x-go-name": "DefaultTheme" } }, "x-go-package": "code.gitea.io/gitea/modules/structs" |