| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 85ac931 commit c8c9508
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" | |||
| 22 | 22 | # Run steady mock on the given spec | |
| 23 | 23 | if [ "$1" == "--daemon" ]; then | |
| 24 | 24 | # Pre-install the package so the download doesn't eat into the startup timeout | |
| 25 | - npm exec --package=@stdy/cli@0.19.3 -- steady --version | ||
| 25 | + npm exec --package=@stdy/cli@0.19.4 -- steady --version | ||
| 26 | 26 | ||
| 27 | - 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 & | ||
| 27 | + npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator-query-array-format=brackets --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" &> .stdy.log & | ||
| 28 | 28 | ||
| 29 | 29 | # Wait for server to come online via health endpoint (max 30s) | |
| 30 | 30 | echo -n "Waiting for server" | |
@@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then | |||
| 48 | 48 | ||
| 49 | 49 | echo | |
| 50 | 50 | else | |
| 51 | - 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" | ||
| 51 | + npm exec --package=@stdy/cli@0.19.4 -- steady --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator-query-array-format=brackets --validator-form-object-format=brackets --validator-query-object-format=brackets "$URL" | ||
| 52 | 52 | fi | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -43,7 +43,7 @@ elif ! steady_is_running ; then | |||
| 43 | 43 | echo -e "To run the server, pass in the path or url of your OpenAPI" | |
| 44 | 44 | echo -e "spec to the steady command:" | |
| 45 | 45 | echo | |
| 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}" | ||
| 46 | + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.4 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-form-array-format=brackets --validator-query-array-format=brackets --validator-form-object-format=brackets --validator-query-object-format=brackets${NC}" | ||
| 47 | 47 | echo | |
| 48 | 48 | ||
| 49 | 49 | exit 1 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments