File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11configured_endpoints : 101
2- openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-c1f9f4a0eb61f295f63a8e245af39f09c5d9ac69091aec48d22f68579cf6feb9 .yml
3- openapi_spec_hash : 10b5ffdc7ab06dcfe57a2ff462908528
2+ openapi_spec_url : https://storage.googleapis.com/stainless-sdk-openapi-specs/datamini%2Fasktable-5c5449a0eaad6a089351c0a5af25eaa22c041c8c98f075854a3b9f5dbacec21d .yml
3+ openapi_spec_hash : 5fe4116588a5e75d787b332425b31d7f
44config_hash : acdf4142177ed1932c2d82372693f811
Original file line number Diff line number Diff line change @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}"
2222# Run steady mock on the given spec
2323if [ " $1 " == " --daemon" ]; then
2424 # Pre-install the package so the download doesn't eat into the startup timeout
25- npm exec --package=@stdy/cli@0.19.7 -- steady --version
25+ npm exec --package=@stdy/cli@0.20.1 -- steady --version
2626
27- npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets " $URL " & > .stdy.log &
27+ npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets " $URL " & > .stdy.log &
2828
2929 # Wait for server to come online via health endpoint (max 30s)
3030 echo -n " Waiting for server"
@@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then
4848
4949 echo
5050else
51- npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets " $URL "
51+ npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets " $URL "
5252fi
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ elif ! steady_is_running ; then
4343 echo -e " To run the server, pass in the path or url of your OpenAPI"
4444 echo -e " spec to the steady command:"
4545 echo
46- echo -e " \$ ${YELLOW} npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets${NC} "
46+ echo -e " \$ ${YELLOW} npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=repeat --validator-form-array-format=repeat --validator-query-object-format=brackets --validator-form-object-format=brackets${NC} "
4747 echo
4848
4949 exit 1
You can’t perform that action at this time.
0 commit comments