]> source.dussan.org Git - gitea.git/commit
[API] creat org repo call same as github (#9186)
author6543 <6543@obermui.de>
Thu, 9 Jan 2020 16:40:01 +0000 (17:40 +0100)
committerzeripath <art27@cantab.net>
Thu, 9 Jan 2020 16:40:01 +0000 (16:40 +0000)
commite8ea0695b01c1439586a4e62fcfdfb0835f5b835
tree7b89dfa8305f148c6b885c948174716ba1df7bb2
parent07520431aec1cbe115e5d85b038f6a9f1e0e7296
[API] creat org repo call same as github (#9186)

* deprecate /api/v1/org/{org}/repos in favour of /api/v1/orgs/{org}/repos + cleanup api repository routes a bit

* remove redundant code

* use upstream function for api cal

* make generate-swagger

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Antoine GIRARD <sapk@users.noreply.github.com>
Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lauris BH <lauris@nix.lv>
routers/api/v1/api.go
routers/api/v1/repo/repo.go
templates/swagger/v1_json.tmpl