summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f9863e1e4e..5f1f420ebd 100644
--- a/Makefile
+++ b/Makefile
@@ -285,9 +285,9 @@ public/css/index.css: $(STYLESHEETS)
.PHONY: swagger-ui
swagger-ui:
- rm -Rf public/assets/swagger-ui
+ rm -Rf public/vendor/assets/swagger-ui
git clone --depth=10 -b v3.0.7 --single-branch https://github.com/swagger-api/swagger-ui.git $(TMPDIR)/swagger-ui
- mv $(TMPDIR)/swagger-ui/dist public/assets/swagger-ui
+ mv $(TMPDIR)/swagger-ui/dist public/vendor/assets/swagger-ui
rm -Rf $(TMPDIR)/swagger-ui
$(SED_INPLACE) "s;http://petstore.swagger.io/v2/swagger.json;../../swagger.v1.json;g" public/assets/swagger-ui/index.html