Try an operation out in the backend's docs with its body (a doc string, as the docs' body field takes it) or its parameters (a table: one parameter a row, its name then its value). Placeholders ({{product}}) are replaced.
Examples
When I try out "POST /v1/products" in the backend's docs with:
And we try out "DELETE /v1/products/{id}" in the backend's docs with:
When I try out "GET /v1/products/{id}" in the backend's docs with:
Then I try out "POST /v1/auth/login" in the backend's docs with:
When try out "PATCH /v1/products/{id}" in the backend's docs with:
Pattern
When(/^(?:I |we )?try out "([A-Z]+) ([^"]+)" in the backend's docs with:$/, …)
Part of @webship-js/nestjs-steps (github.com/webship/nestjs-steps), a step pack for Webship-js 2.0.x.