Skip to content

Commit 8184688

Browse files
committed
docs: fix status_codes in ai endpoint matcher
PACT-4377
1 parent c893f26 commit 8184688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/docs/docs/ai/using.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ We can generate a test for the `404` scenario by explicitly specifying the metho
8080
```console
8181
pactflow-ai generate \
8282
--openapi products.yml \
83-
--endpoint '{"path": "/product/{id}", "methods": ["GET"], "status": ["404"]}' \
83+
--endpoint '{"path": "/product/{id}", "methods": ["GET"], "status_codes": ["404"]}' \
8484
--output src/api.pact.spec.ts \
8585
--language typescript
8686
```

0 commit comments

Comments
 (0)