Then the API's answer should match its documented schema

The API's last answer has the shape the schema documents for its operation and its status: the body is checked against the response schema of the documented operation (JSON Schema 2020-12, OpenAPI 3.1's dialect, with its formats: uuid, date-time, email).

Examples

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

Pattern

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

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