raml-java-parser icon indicating copy to clipboard operation
raml-java-parser copied to clipboard

Parser complains about references in traits

Open pshrm opened this issue 8 years ago • 0 comments

I have a RAML (v0.8) with reference to schema in the traits something like below

body: application/json: example: | { "error": { "originalMsgCode": "<backend provided error code>", "originalMsgText": "<backend provided error message>" } } schema: errorSchema

And I have errorSchema definition defined in RAML under schemas tag. Parser version 1.0.3 doesn't parse the RAML with following error "Invalid reference errorSchema". But the version 1.0.1 (was using before upgrade) was successfully able to parse the same RAML file. Do you know if something has been changed? How can I fix it

Aha! Link: https://mulesoft-roadmap.aha.io/features/APIRAML-104

pshrm avatar Jan 30 '17 12:01 pshrm