From af7c132ba212728efcc9a6d4a5fd46349f11d21f Mon Sep 17 00:00:00 2001 From: Sohom Date: Fri, 17 May 2024 11:59:44 -0400 Subject: [PATCH] Correct parameter name in docs Currently, the parameter names for the feed filtering API do not correspond to the parameters actually accepted by the API giving the appearance that the API is borken. This patch fixes the parameter names in the OpenAPI docs to correspond to the actual API parameters. Signed-off-by: Sohom --- src/Controller/ApiController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Controller/ApiController.php b/src/Controller/ApiController.php index 554dd35..e5bba6e 100644 --- a/src/Controller/ApiController.php +++ b/src/Controller/ApiController.php @@ -29,14 +29,14 @@ class ApiController extends AppController { * schema=@OA\Schema(type="string", enum={"all", "open", "reviewed"}) * ) * @OA\Parameter( - * name="filter_user", + * name="filterUser", * in="query", * description="Filter the results by reviewer", * required=false, * schema=@OA\Schema(type="string") * ) * @OA\Parameter( - * name="filter_page", + * name="filterPage", * in="query", * description="Filter by page title. This is a **case-sensitive** substring match.", * required=false,