]> source.dussan.org Git - gitea.git/commit
Move swagger-ui under /api/v1 (#2746)
authorAntoine GIRARD <sapk@users.noreply.github.com>
Sat, 21 Oct 2017 14:05:50 +0000 (16:05 +0200)
committerLunny Xiao <xiaolunwen@gmail.com>
Sat, 21 Oct 2017 14:05:50 +0000 (22:05 +0800)
commit619b9b5547dab4f30acedbf816550df02bb3c1c5
tree5a1cfbe2ab2d0723991dac8a8f69b8fe6a98f006
parentbc8d72666c371cc674128011cede929d4ce1ae80
Move swagger-ui under /api/v1 (#2746)

* Move swagger interface under /api/v1

* Update swagger-ui

* Add /api/swagger and prepare for multiple api version

* Update test links

* Fix footer link
17 files changed:
Makefile
integrations/links_test.go
public/vendor/assets/swagger-ui/index.html
public/vendor/assets/swagger-ui/oauth2-redirect.html
public/vendor/assets/swagger-ui/swagger-ui-bundle.js
public/vendor/assets/swagger-ui/swagger-ui-bundle.js.map
public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js
public/vendor/assets/swagger-ui/swagger-ui-standalone-preset.js.map
public/vendor/assets/swagger-ui/swagger-ui.css
public/vendor/assets/swagger-ui/swagger-ui.js
public/vendor/assets/swagger-ui/swagger-ui.js.map
routers/api/v1/api.go
routers/api/v1/misc/swagger.go [new file with mode: 0644]
routers/home.go
routers/routes/routes.go
templates/base/footer.tmpl
templates/swagger.tmpl