You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You are attempting to validate against something that is not a JSON schema. Swagger and JSON Schema are not the same thing, and they are not interchangeable.
If you want to validate against something in swag ger.json, you must preprocess that file first to extract the relevant JSON schema, and correct the references accordingly.
Regarding the recursion - please post a minimal, valid schema that reproduces the problem.
@MaikWagner in an attempt to cleanup this repo we are trying to filter the issues and see which ones might be closed. Is it safe to assume this is a rather old issue, which sadly was left unreplied, and can be closed? Feel free to close it yourself with some comments if helpful.
Hi,
I was trying to validate a response with a json schema that has circular $ref definitions. This is basically allowed (https://tools.ietf.org/html/draft-pbryan-zyp-json-ref-03#section-7) but leads to an php error after looping infinitely:
With xdebug enabled it exits after a while and throws this backtrace:
test.php
swagger.json
data.json
The text was updated successfully, but these errors were encountered: