Fix swagger build by replacing faulty default URL

environments/review-docs-devel-1399dq/deployments/6607
Georg Krause 2021-03-13 21:18:55 +01:00
rodzic a9db905941
commit f51e22d045
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: FD479B9A4D48E632
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -7,4 +7,4 @@ git clone --branch="v$SWAGGER_VERSION" --depth=1 "https://github.com/swagger-api
mv /tmp/swagger-ui/dist $TARGET_PATH
cp swagger.yml $TARGET_PATH
cp -r api $TARGET_PATH/api
sed -i "s,http://petstore.swagger.io/v2/swagger.json,swagger.yml,g" $TARGET_PATH/index.html
sed -i "s,https://petstore.swagger.io/v2/swagger.json,swagger.yml,g" $TARGET_PATH/index.html