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.
Found that applying the workaround in #283 by using
required: falserather 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.