Open sweoggy opened 2 years ago
Adding to the issue: We've now managed to do a workaround for the issue, by defining "name" and "in" both for the parameter in the bundle config file as well as the parameter in the annotations of the controller function, like below (bundle config is the same as above):
* @OA\Parameter(
* ref="#/components/parameters/table_page"
* name="page",
* in="query",
* ),
Hi,
We just upgraded to v4 from v3 and are having issues with references which were previously working just fine.
First issue we hit was in regards to required parameters with default values:
It is not possible to execute the request despite
order
parameter having a default value. Selecting a different value doesn't help either. But if we make the parameter optional, it is possible to execute the request. However, we also see that the referenced parameters are never added to the query:Additionally,
sortColumn
is not required in the UI, despite being required according to annotation.Controller annotations:
Bundle config, including parameters:
Are we doing something wrong or is something up with referencing parameters in v4? :)