raml-java-parser
raml-java-parser copied to clipboard
Schema not resolved properly
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