aboutsummaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2023-07-25 10:26:27 +0200
committerGitHub <noreply@github.com>2023-07-25 08:26:27 +0000
commit6598d0291cf7dfeb00cb5e5d18faf2bf46fad596 (patch)
tree00fda6f81294ac7c203836581ca25b3a41df819d /templates/swagger
parentaf1ffbcd63569df8646b20c524378f25710f129e (diff)
downloadgitea-6598d0291cf7dfeb00cb5e5d18faf2bf46fad596.tar.gz
gitea-6598d0291cf7dfeb00cb5e5d18faf2bf46fad596.zip
Allow Organisations to have a E-Mail (#25082)
Resolves #25057 This adds a E-Mail field to Organisations. The E-Mail is just shown on the Profile when it is visited by a logged in User. The E-mail is not used for something else. **Screenshots:** ![grafik](https://github.com/go-gitea/gitea/assets/15185051/a8d622b3-7278-4c08-984b-9c5ebfdb5471) ![grafik](https://github.com/go-gitea/gitea/assets/15185051/6dcb1dd7-d04b-49eb-bc96-6582cfe9757b) --------- Co-authored-by: Denys Konovalov <kontakt@denyskon.de> Co-authored-by: Denys Konovalov <privat@denyskon.de> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 69874bdc75..7cb9bac95d 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -17125,6 +17125,10 @@
"type": "string",
"x-go-name": "Description"
},
+ "email": {
+ "type": "string",
+ "x-go-name": "Email"
+ },
"full_name": {
"type": "string",
"x-go-name": "FullName"
@@ -18043,6 +18047,10 @@
"type": "string",
"x-go-name": "Description"
},
+ "email": {
+ "type": "string",
+ "x-go-name": "Email"
+ },
"full_name": {
"type": "string",
"x-go-name": "FullName"
@@ -20100,6 +20108,10 @@
"type": "string",
"x-go-name": "Description"
},
+ "email": {
+ "type": "string",
+ "x-go-name": "Email"
+ },
"full_name": {
"type": "string",
"x-go-name": "FullName"