I am using API designer (the cloud version) to create a raml that utilizes json schemas along with the "schemas" keyword.
Here's the raml doc that I want (i've removed the boilerplate top lines for brevity)
- Device: !include d.json
Link: !include link.json
I've already uploaded/saved the included json files in API Designer. However with this, i'm getting the following error message at the last line
"schema is not valid JSON error: Unknown character '}', expecting a string for key statement"
If I remove the "schemas" section from the top and then include the json file directly in the "schema" element, that error goes away
schema: !include link.json
I'm not sure what is it that i'm doing wrong. Any suggestion/help is appreciated.