mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
Currently there are no checks in validate_against_openapi_schema to check whether the `content` it received actually matched with the `response code`. For example during testing if a certain endpoint was returning 400 but it was expected to return 200, then it would pass schema validation as it would only have `msg` and `result` keys. Add this validation and fix the wrong response returning points.
2.8 KiB
2.8 KiB