Then the backend's docs should list "POST /v1/products"

The backend's docs list an operation: its method, and its path as the docs show it (with the global prefix and its {parameters}).

Examples

Then the backend's docs should list "POST /v1/products"
And the backend's docs should list "GET /v1/products/{id}"
Then the backend's docs should list "DELETE /v1/products/{id}"
And the backend's docs should list "POST /v1/auth/login"
Then the backend's docs should list "GET /v1/health"

Pattern

Then(/^the backend's docs should list "([A-Z]+) ([^"]+)"$/, …)

Part of @webship-js/nestjs-steps (github.com/webship/nestjs-steps), a step pack for Webship-js 2.0.x.