diff options
author | Lauris BH <lauris@nix.lv> | 2022-01-25 08:33:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-25 08:33:40 +0200 |
commit | 6392f4691af7db20a2ad81ec19408fa9377a5cd1 (patch) | |
tree | 0553b384cdde77323b40f8d70daa38ba8d4a5280 /templates | |
parent | 9628a76ce6f4fea8508f79747d78007907e3ea76 (diff) | |
download | gitea-6392f4691af7db20a2ad81ec19408fa9377a5cd1.tar.gz gitea-6392f4691af7db20a2ad81ec19408fa9377a5cd1.zip |
API: Return primary language and repository language stats API URL (#18396)
Diffstat (limited to 'templates')
-rw-r--r-- | templates/swagger/v1_json.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 768c4c69ee..497636e781 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -17188,6 +17188,14 @@ "internal_tracker": { "$ref": "#/definitions/InternalTracker" }, + "language": { + "type": "string", + "x-go-name": "Language" + }, + "languages_url": { + "type": "string", + "x-go-name": "LanguagesURL" + }, "mirror": { "type": "boolean", "x-go-name": "Mirror" |