aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorAntoine GIRARD <sapk@users.noreply.github.com>2017-06-02 06:35:31 +0200
committerBo-Yi Wu <appleboy.tw@gmail.com>2017-06-01 23:35:31 -0500
commit976c2a05fafcecc454634206f9072f3ae23bc055 (patch)
tree49feadf52e60bce7b64782e9193d95de9ac42919 /routers
parent4e5ee2b67ac9c54ce2b0e05daf8b61a97cbe743b (diff)
downloadgitea-976c2a05fafcecc454634206f9072f3ae23bc055.tar.gz
gitea-976c2a05fafcecc454634206f9072f3ae23bc055.zip
Fix change introduce by update of go-swagger. (#1727)
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/api.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/api/v1/api.go b/routers/api/v1/api.go
index 5dd06c37fb..9ff71ed2f2 100644
--- a/routers/api/v1/api.go
+++ b/routers/api/v1/api.go
@@ -4,6 +4,7 @@
//go:generate swagger generate spec -o ../../../public/swagger.v1.json
//go:generate sed -i "s;\".ref\": \"#/definitions/GPGKey\";\"type\": \"object\";g" ../../../public/swagger.v1.json
+//go:generate sed -i "s;^ \".ref\": \"#/definitions/Repository\"; \"type\": \"object\";g" ../../../public/swagger.v1.json
// Package v1 Gitea API.
//