I am not able to create a collection route containing path parameters in a route like
/api/myEntity/{var1}/{var2}
I created annotations in my entity like below