diff options
author | Antoine GIRARD <sapk@users.noreply.github.com> | 2017-06-02 06:35:31 +0200 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-06-01 23:35:31 -0500 |
commit | 976c2a05fafcecc454634206f9072f3ae23bc055 (patch) | |
tree | 49feadf52e60bce7b64782e9193d95de9ac42919 /routers | |
parent | 4e5ee2b67ac9c54ce2b0e05daf8b61a97cbe743b (diff) | |
download | gitea-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.go | 1 |
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. // |