Then the backend's answer should match its documented schema

The backend's last answer (webship-js's API steps) matches the schema its document gives for that answer: the operation of the request, the response for its status (or its family, "2XX", or "default"), its JSON schema. An answer with no body matches a response that documents none.

Examples

Then the backend's answer should match its documented schema
And the backend's answer should match its documented schema
Then the backend's answer should match its documented schema
But the backend's answer should match its documented schema
* the backend's answer should match its documented schema

Pattern

Then(/^the backend's answer should match its documented schema$/, …)

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