File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ echo "==> Starting mock server with URL ${URL}"
2121
2222# Run steady mock on the given spec
2323if [ " $1 " == " --daemon" ]; then
24- npm exec --package=@stdy/cli@0.19.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets " $URL " & > .stdy.log &
24+ npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets " $URL " & > .stdy.log &
2525
2626 # Wait for server to come online via health endpoint (max 5s)
2727 echo -n " Waiting for server"
@@ -45,5 +45,5 @@ if [ "$1" == "--daemon" ]; then
4545
4646 echo
4747else
48- npm exec --package=@stdy/cli@0.19.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets " $URL "
48+ npm exec --package=@stdy/cli@0.19.3 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets " $URL "
4949fi
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.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets${NC} "
46+ echo -e " \$ ${YELLOW} npm exec --package=@stdy/cli@0.19.3 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-query-object-format=brackets${NC} "
4747 echo
4848
4949 exit 1
You can’t perform that action at this time.
0 commit comments