tv4
tv4 copied to clipboard
$ref validation error
Hi, I'm trying to validate using $ref. At first, I had some external references and as seen in the documentation, it was returning true without validating. So I tried using addScheme to previously load the external reference but the problem persisted. Tired of making tests, I changed my schemas structure so started using internal definitions, so it won't be needed to load any external schemas. But I was receiving the same problem: always true in validation. The missing variable returns the same URL of the schema requested, and the missing function returns nothing. Any ideas to have $ref working?
Same problem here: validation always returns true when I use $ref.