Skip to content

Commit

Permalink
Merge pull request #522 from tbkj98/sfw-param-fix
Browse files Browse the repository at this point in the history
Removed duplicate request parameter reference "sfw"
  • Loading branch information
pushrbx authored Mar 24, 2024
2 parents a415418 + 5b656b4 commit 613db6c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion app/Http/Controllers/V4DB/ScheduleController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/V4DB/SearchController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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"),
Expand Down
11 changes: 1 addition & 10 deletions storage/api-docs/api-docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2329,9 +2329,6 @@
]
}
},
{
"$ref": "#/components/parameters/sfw"
},
{
"$ref": "#/components/parameters/unapproved"
},
Expand Down Expand Up @@ -2366,9 +2363,6 @@
],
"operationId": "getAnimeSearch",
"parameters": [
{
"$ref": "#/components/parameters/sfw"
},
{
"$ref": "#/components/parameters/unapproved"
},
Expand Down Expand Up @@ -2524,9 +2518,6 @@
],
"operationId": "getMangaSearch",
"parameters": [
{
"$ref": "#/components/parameters/sfw"
},
{
"$ref": "#/components/parameters/unapproved"
},
Expand Down Expand Up @@ -9101,4 +9092,4 @@
"description": "About",
"url": "https://jikan.moe"
}
}
}

0 comments on commit 613db6c

Please sign in to comment.