From e9c649d2b4a4bce5bb01d8495e072f078128bc95 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 1 May 2024 20:09:22 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#422) --- .stats.yml | 2 +- scripts/mock | 4 ++-- scripts/test | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 0520d4dfb7..2a6632a64c 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1267 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-cc3299608e8bb30103d79d6bdc29758d43899b0393afe2153bea75e201ac0795.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7add9c69609ff21483285ac9b11d2325b0b64fd980726fe0d40fcb51da472afb.yml diff --git a/scripts/mock b/scripts/mock index 5a8c35b725..fe89a1d084 100755 --- a/scripts/mock +++ b/scripts/mock @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}" # Run prism mock on the given spec if [ "$1" == "--daemon" ]; then - npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock "$URL" &> .prism.log & + npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL" &> .prism.log & # Wait for server to come online echo -n "Waiting for server" @@ -37,5 +37,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stoplight/prism-cli@~5.3.2 -- prism mock "$URL" + npm exec --package=@stoplight/prism-cli@~5.8 -- prism mock "$URL" fi diff --git a/scripts/test b/scripts/test index aa94b72d8a..b62a7cccd5 100755 --- a/scripts/test +++ b/scripts/test @@ -54,4 +54,4 @@ fi # Run tests echo "==> Running tests" -./node_modules/.bin/jest +./node_modules/.bin/jest "$@"