Skip to content

Commit b7e464a

Browse files
committed
Added missing quotes around filter values
1 parent f72441a commit b7e464a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

documentation/contract_tests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -983,9 +983,9 @@ specmatic test --filter="METHOD='POST' && PATH='/users'"
983983

984984
### Filter Examples
985985

986-
| Filter | Examples |
986+
| Filter | Examples |
987987
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- |
988-
| `STATUS` | • `STATUS=200` (only 200 responses)<br>• `STATUS>=400` (all errors)<br>• `STATUS<500` (exclude 5xx errors) |
988+
| `STATUS` | • `STATUS='200'` (only 200 responses)<br>• `STATUS>='400'` (all errors)<br>• `STATUS<'500'` (exclude 5xx errors) |
989989
| `PATH` | • `PATH='/users'` (exact match)<br>• `PATH='/products/*'` (matches all subpaths under /products) |
990990
| `METHOD` | • `METHOD='GET'` (GET requests)<br>• `METHOD='POST'` (POST requests) |
991991
| `PARAMETERS.QUERY` | • `PARAMETERS.QUERY.byName='John'` (query param `byName` equals `'John'`)<br>• `PARAMETERS.QUERY='byName'` (key present) |

0 commit comments

Comments
 (0)