You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I have a question. In the following example, parameter C is incompatible with parameters A and B. However, parameters A and B are dependent, that is, if I send A, it is mandatory to send B and vice versa. How can I define this dependency with QueryParam. Thanks in advance.
/**
* QueryParam(name="paramA", nullable=true, description="Search by paramA")
* QueryParam(name="paramB", nullable=true, description="Search by paramB")
* QueryParam(name="paramC", nullable=true, incompatibles={"paramA", "paramB"}, description="Search by paramC")
*/
public function search(ParamFetcher $paramFetcher)
{
}
The text was updated successfully, but these errors were encountered:
Hello, I have a question. In the following example, parameter C is incompatible with parameters A and B. However, parameters A and B are dependent, that is, if I send A, it is mandatory to send B and vice versa. How can I define this dependency with QueryParam. Thanks in advance.
The text was updated successfully, but these errors were encountered: