From 53eeaf6a13b9c2a8cdd6e87f6ebf7c36559aa7af Mon Sep 17 00:00:00 2001 From: Anand Prakash Sharma <31429879+tbkj98@users.noreply.github.com> Date: Sun, 17 Mar 2024 11:01:08 +0530 Subject: [PATCH 1/3] Update api-docs.json Removed duplicate request parameter reference "sfw" --- storage/api-docs/api-docs.json | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/storage/api-docs/api-docs.json b/storage/api-docs/api-docs.json index 75d58756..c9108d31 100644 --- a/storage/api-docs/api-docs.json +++ b/storage/api-docs/api-docs.json @@ -2329,9 +2329,6 @@ ] } }, - { - "$ref": "#/components/parameters/sfw" - }, { "$ref": "#/components/parameters/unapproved" }, @@ -2366,9 +2363,6 @@ ], "operationId": "getAnimeSearch", "parameters": [ - { - "$ref": "#/components/parameters/sfw" - }, { "$ref": "#/components/parameters/unapproved" }, @@ -2524,9 +2518,6 @@ ], "operationId": "getMangaSearch", "parameters": [ - { - "$ref": "#/components/parameters/sfw" - }, { "$ref": "#/components/parameters/unapproved" }, @@ -9101,4 +9092,4 @@ "description": "About", "url": "https://jikan.moe" } -} \ No newline at end of file +} From b66834084ca2fd3446ad259459425be89e033474 Mon Sep 17 00:00:00 2001 From: Anand Prakash Sharma <31429879+tbkj98@users.noreply.github.com> Date: Sat, 23 Mar 2024 14:02:31 +0530 Subject: [PATCH 2/3] Removed duplicate reference to sfw param in comments for anime and manga GET search endpoints --- app/Http/Controllers/V4DB/SearchController.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/Http/Controllers/V4DB/SearchController.php b/app/Http/Controllers/V4DB/SearchController.php index 40b36266..087b26f3 100644 --- a/app/Http/Controllers/V4DB/SearchController.php +++ b/app/Http/Controllers/V4DB/SearchController.php @@ -25,7 +25,6 @@ class SearchController extends Controller * operationId="getAnimeSearch", * tags={"anime"}, * - * @OA\Parameter(ref="#/components/parameters/sfw"), * @OA\Parameter(ref="#/components/parameters/unapproved"), * @OA\Parameter(ref="#/components/parameters/page"), * @OA\Parameter(ref="#/components/parameters/limit"), @@ -159,7 +158,6 @@ public function anime(AnimeSearchCommand $request) * operationId="getMangaSearch", * tags={"manga"}, * - * @OA\Parameter(ref="#/components/parameters/sfw"), * @OA\Parameter(ref="#/components/parameters/unapproved"), * @OA\Parameter(ref="#/components/parameters/page"), * @OA\Parameter(ref="#/components/parameters/limit"), From 5b656b4d2b8384ff44a0e5a145e4e3437f2147bd Mon Sep 17 00:00:00 2001 From: Anand Prakash Sharma <31429879+tbkj98@users.noreply.github.com> Date: Sat, 23 Mar 2024 14:05:21 +0530 Subject: [PATCH 3/3] Removed duplicate parameter reference "sfw" --- app/Http/Controllers/V4DB/ScheduleController.php | 1 - 1 file changed, 1 deletion(-) diff --git a/app/Http/Controllers/V4DB/ScheduleController.php b/app/Http/Controllers/V4DB/ScheduleController.php index 143deb01..4b31e5b1 100644 --- a/app/Http/Controllers/V4DB/ScheduleController.php +++ b/app/Http/Controllers/V4DB/ScheduleController.php @@ -37,7 +37,6 @@ class ScheduleController extends Controller * @OA\Schema(type="string",enum={"true", "false"}) * ), * - * @OA\Parameter(ref="#/components/parameters/sfw"), * @OA\Parameter(ref="#/components/parameters/unapproved"), * @OA\Parameter(ref="#/components/parameters/page"), * @OA\Parameter(ref="#/components/parameters/limit"),