Forum Discussion

Akshayrathi's avatar
10 months ago

JSON Schema Compliance Assertion

Not sure how to get JSON schema URL to add this assertion

I have swagger URL but it is not working. Do anyone know how to get this JSON URL

2 Replies

  • You would need a file with just the schema, something like schema.json that just defines just the schema for the assertion. Documentation here: https://support.smartbear.com/readyapi/docs/en/test-apis-with-readyapi/verifying-results/assertion-reference/compliance-assertions/json-schema-compliance-assertion.html#create-an-assertion-1009078

  • mnwill117's avatar
    mnwill117
    Occasional Contributor

    our swagger links have a link to the JSON file at the top - it appends openapi.json at the end.