diff options
author | 6543 <6543@obermui.de> | 2020-11-20 02:56:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 20:56:42 -0500 |
commit | 1bb5c09b5d973ac184922380b1e6379875ac5fa7 (patch) | |
tree | 293984f50fd016e9da7cfb78102eeacc5f14b01a /templates/swagger | |
parent | 24b3b2140a094a108707c2994946b5a99eda016f (diff) | |
download | gitea-1bb5c09b5d973ac184922380b1e6379875ac5fa7.tar.gz gitea-1bb5c09b5d973ac184922380b1e6379875ac5fa7.zip |
API: Admin EditUser: Make FullName, Email, Website & Location optional (#13562)
* API: Admin EditUser: Make FullName, Email, Website & Location optional
* update swagger docs
* add Tests
Co-authored-by: Lauris BH <lauris@nix.lv>
Diffstat (limited to 'templates/swagger')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index e759a1558c..9d775da7d6 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -13097,7 +13097,8 @@ "description": "EditUserOption edit user options", "type": "object", "required": [ - "email" + "source_id", + "login_name" ], "properties": { "active": { |