Open jerko-culina opened 5 years ago
I think I've run into something similar, and I didn't have the time to debug it properly at the time, so I made a workaround that used a fake URL for the $id
. Something like this:
"$id": "https://schemas.yourdomain.com/occupancy.json",
And then reference it in items:
"items": { "$ref": "https://schemas.yourdomain.com/occupancy.json#/definitions/occupancy" }
Let me know if that works—if it doesn't I'll try to make a failing test so we can debug.
Hi, sorry if this is not the right place for this error bellow. Ruby 2.5.5 Rails 2.5.3 json_schema-0.20.6
I got next error. When I try to match occupancy.json, everything works fine. When I try to match occupancies.json I got this error.
Schema files are bellow. Can't figure why it's happening!!
Error:
Schema files: occupancies.json
occupancy.json