summaryrefslogtreecommitdiffstats
path: root/templates/swagger
diff options
context:
space:
mode:
authorKN4CK3R <KN4CK3R@users.noreply.github.com>2021-05-01 11:05:55 +0200
committerGitHub <noreply@github.com>2021-05-01 11:05:55 +0200
commit67e10397af909a6f6b36000e2e4b5e3a95641832 (patch)
tree54e3f5d95a6fc9a15947536f538a3a0204caa0d0 /templates/swagger
parent[skip ci] Updated translations via Crowdin (diff)
downloadforgejo-67e10397af909a6f6b36000e2e4b5e3a95641832.tar.xz
forgejo-67e10397af909a6f6b36000e2e4b5e3a95641832.zip
Add Location, Website and Biography to API (#15675)
Diffstat (limited to 'templates/swagger')
-rw-r--r--templates/swagger/v1_json.tmpl15
1 files changed, 15 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 5aeed4a30f..6d690ba275 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -16251,6 +16251,11 @@
"type": "string",
"x-go-name": "AvatarURL"
},
+ "bio": {
+ "description": "the user's biography",
+ "type": "string",
+ "x-go-name": "Description"
+ },
"created": {
"type": "string",
"format": "date-time",
@@ -16287,6 +16292,11 @@
"format": "date-time",
"x-go-name": "LastLogin"
},
+ "location": {
+ "description": "the user's location",
+ "type": "string",
+ "x-go-name": "Location"
+ },
"login": {
"description": "the user's username",
"type": "string",
@@ -16296,6 +16306,11 @@
"description": "Is user restricted",
"type": "boolean",
"x-go-name": "Restricted"
+ },
+ "website": {
+ "description": "the user's website",
+ "type": "string",
+ "x-go-name": "Website"
}
},
"x-go-package": "code.gitea.io/gitea/modules/structs"