Solved
Forum Discussion
4 Replies
Sort By
Okay, that one was a bit tricky. Under your Employer definition you have:
locations: type: "array" items: { $ref: "/definitions/Location" }
It should actually be (notice the extra #):
locations: type: "array" items: { $ref: "#/definitions/Location" }
That should solve the issue.
Also, if you want to utilize YAML to the fullest, you can write it all as:
locations: type: array items: $ref: "#/definitions/Location"
- ramsterNew Contributor
gee, that was quick!! :) thanks a lot.
I wonder why your validator did not point me there and just gave a general error
That's a good question. I'll open a ticket internally about it so we can track it down.