update docs

This commit is contained in:
Irfan 2022-05-20 22:32:46 +05:00
parent df006baf80
commit 16f86d3a2f
3 changed files with 66 additions and 1 deletions

View File

@ -70,6 +70,8 @@ class ScheduleController extends Controller
* @OA\Schema(type="string",enum={"true", "false"})
* ),
*
* @OA\Parameter(ref="#/components/parameters/limit"),
*
* @OA\Response(
* response="200",
* description="Returns weekly schedule",

View File

@ -157,7 +157,7 @@ class SearchController extends Controller
* description="Return entries starting with the given letter",
* @OA\Schema(type="string")
* ),
*
*
* @OA\Parameter(
* name="producers",
* in="query",
@ -165,6 +165,20 @@ class SearchController extends Controller
* @OA\Schema(type="string")
* ),
*
* @OA\Parameter(
* name="start_date",
* in="query",
* description="Filter by starting date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
* @OA\Schema(type="string")
* ),
*
* @OA\Parameter(
* name="start_date",
* in="query",
* description="Filter by ending date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
* @OA\Schema(type="string")
* ),
*
* @OA\Response(
* response="200",
* description="Returns search results for anime",
@ -308,6 +322,20 @@ class SearchController extends Controller
* @OA\Schema(type="string")
* ),
*
* @OA\Parameter(
* name="start_date",
* in="query",
* description="Filter by starting date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
* @OA\Schema(type="string")
* ),
*
* @OA\Parameter(
* name="start_date",
* in="query",
* description="Filter by ending date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
* @OA\Schema(type="string")
* ),
*
* @OA\Response(
* response="200",
* description="Returns search results for manga",

View File

@ -2019,6 +2019,9 @@
"false"
]
}
},
{
"$ref": "#/components/parameters/limit"
}
],
"responses": {
@ -2155,6 +2158,22 @@
"schema": {
"type": "string"
}
},
{
"name": "start_date",
"in": "query",
"description": "Filter by starting date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
"schema": {
"type": "string"
}
},
{
"name": "start_date",
"in": "query",
"description": "Filter by ending date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
"schema": {
"type": "string"
}
}
],
"responses": {
@ -2284,6 +2303,22 @@
"schema": {
"type": "string"
}
},
{
"name": "start_date",
"in": "query",
"description": "Filter by starting date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
"schema": {
"type": "string"
}
},
{
"name": "start_date",
"in": "query",
"description": "Filter by ending date. Format: YYYY-MM-DD. e.g `2022`, `2005-05`, `2005-01-01`",
"schema": {
"type": "string"
}
}
],
"responses": {