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

Schema not resolved properly

Open preithig opened this issue 8 years ago • 0 comments

I am using the RemoteVendingAPI (https://raw.githubusercontent.com/mulesoft/mulesoft-docs/f5afa20aa9d66675c9038ccafc92300bc77a08c2/apikit/v/latest/_attachments/api.raml) and trying to parse it using 1.0.8 parser.

I am trying to get the schema details from the body.

for (BodyLike requestBody : method.body()) {

requestBody.schema().value() ; // ---> This does not return the resolved schema key. It returns // get<<resourcePathName>>
}

I am not getting the correct schema key

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

preithig avatar May 09 '17 09:05 preithig