â Verify Response schema
Generate response schemaâ
Once you get the response body from the logs or from Postman, you can generate its schema by using any good online JSON schema generator, example Transform tools
Once the schema is generated, copy the schema and create a new file in the schema folder which you have configured in the Boyka config file.
You can give a meaningful name to that schema file.
Verify schemaâ
In your test class, you can add the following line to verify the response schema:
. . .
response.verifySchema ("[schema-file-name].json");
. . .