You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2017/12/08 22:41:39 UTC
[GitHub] ddragosd closed pull request #3064: update to latest swagger
ddragosd closed pull request #3064: update to latest swagger
URL: https://github.com/apache/incubator-openwhisk/pull/3064
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/core/controller/Dockerfile b/core/controller/Dockerfile
index 51f673d117..c5ecaf4a96 100644
--- a/core/controller/Dockerfile
+++ b/core/controller/Dockerfile
@@ -3,10 +3,10 @@ FROM scala
ENV DEBIAN_FRONTEND noninteractive
# Install swagger-ui
-RUN wget --no-verbose https://github.com/swagger-api/swagger-ui/archive/v2.1.4.tar.gz && \
+RUN wget --no-verbose https://github.com/swagger-api/swagger-ui/archive/v3.6.0.tar.gz && \
mkdir swagger-ui && \
- tar zxf v2.1.4.tar.gz -C /swagger-ui --strip-components=2 swagger-ui-2.1.4/dist && \
- rm v2.1.4.tar.gz && \
+ tar zxf v3.6.0.tar.gz -C /swagger-ui --strip-components=2 swagger-ui-3.6.0/dist && \
+ rm v3.6.0.tar.gz && \
perl -pi -w -e 's{http://petstore.swagger.io/v2/swagger.json}{/api/v1/api-docs}g;' /swagger-ui/index.html
#
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services