diff options
author | John Olheiser <john.olheiser@gmail.com> | 2020-04-18 09:47:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-18 11:47:15 -0300 |
commit | 4f597b1866954ff94999a52af1a41fed06f0143e (patch) | |
tree | 0f260a237d33e55b259bb5cf5671c67135799d79 /templates/swagger | |
parent | 1b86f174ce99b579df35c32e800551b1fd1df807 (diff) | |
download | gitea-4f597b1866954ff94999a52af1a41fed06f0143e.tar.gz gitea-4f597b1866954ff94999a52af1a41fed06f0143e.zip |
Add single release page and latest redirect (#11102)
* Add single release and latest release routes
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Update API and move latest search to models
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix swagger
Signed-off-by: jolheiser <john.olheiser@gmail.com>
Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
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 e9368a7d2a..e87af4f5c9 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -13107,6 +13107,10 @@ "type": "boolean", "x-go-name": "IsDraft" }, + "html_url": { + "type": "string", + "x-go-name": "HTMLURL" + }, "id": { "type": "integer", "format": "int64", |