Open techpavan opened 5 years ago
Can you please check if the issue is related to raml-parser-2
?
There is a link to raml-parser-2
bug in #283 where you can find the way to reproduce issues with the parser.
Right. Its an issue from the raml-parser-2
project. Have submitted an issue there.
Found that applying the workaround in #283 by using
required: false
rather than short-hand notation is effective only when traits are directly referenced. If a trait is referring to a different trait which has queryParameters, the nested trait's queryParameters do not reflect in the generated code.Reproducer - Clone the code from https://github.com/techpavan/springmvc-raml-plugin-issues/ and check the code generated to list all the bus brands against for the car brands.