From b47fde3675839fe8649e146d850b78438593c4b5 Mon Sep 17 00:00:00 2001 From: Kazuhito Yokoi Date: Mon, 14 Sep 2020 18:00:18 +0900 Subject: [PATCH] Add handling to modify swagger.json for Travis CI --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 365d8e3..c7e5b4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,5 @@ before_script: - docker pull swaggerapi/petstore - docker run -d -e SWAGGER_URL=http://petstore.swagger.io -e SWAGGER_BASE_PATH=/v2 -p 80:8080 swaggerapi/petstore - npm install -g istanbul coveralls + - jq '.schemes=["http"]' samples/swagger.json > samples/tmp + - mv samples/tmp samples/swagger.json