This commit is contained in:
Irfan 2023-04-23 09:02:41 +05:00 committed by pushrbx
parent 12322b6e9a
commit ab1e496c0f
2 changed files with 41 additions and 3 deletions

View File

@ -204,7 +204,7 @@ class AnimeController extends Controller
* @OA\Property(
* property="url",
* type="string",
* description="MyAnimeList URL. This is the URL of the episode's video. If there is no video url, this will be null."
* description="MyAnimeList URL. This is the URL of the episode's video. If there is no video url, this will be null.",
* nullable=true
* ),
* @OA\Property(

View File

@ -3763,6 +3763,13 @@
"schema": {
"type": "string"
}
},
{
"name": "status",
"in": "query",
"schema": {
"$ref": "#/components/schemas/user_anime_list_status_filter"
}
}
],
"responses": {
@ -3796,6 +3803,13 @@
"schema": {
"type": "string"
}
},
{
"name": "status",
"in": "query",
"schema": {
"$ref": "#/components/schemas/user_manga_list_status_filter"
}
}
],
"responses": {
@ -4122,6 +4136,18 @@
},
"components": {
"schemas": {
"user_anime_list_status_filter": {
"description": "User's anime list status filter options",
"type": "string",
"enum": [
"all",
"watching",
"completed",
"onhold",
"dropped",
"plantowatch"
]
},
"anime_search_query_orderby": {
"description": "Available Anime order_by properties",
"type": "string",
@ -4249,6 +4275,18 @@
"count"
]
},
"user_manga_list_status_filter": {
"description": "User's anime list status filter options",
"type": "string",
"enum": [
"all",
"reading",
"completed",
"onhold",
"dropped",
"plantoread"
]
},
"manga_search_query_orderby": {
"description": "Available Manga order_by properties",
"type": "string",
@ -4361,8 +4399,8 @@
"type": "integer"
},
"url": {
"description": "MyAnimeList URL",
"type": "string"
"type": "string",
"nullable": true
},
"title": {
"description": "Title",