mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
fixed media type enums
This commit is contained in:
parent
5d46bc8220
commit
31b7a1312e
@ -11,6 +11,9 @@ use Spatie\Enum\Laravel\Enum;
|
||||
* @method static self special()
|
||||
* @method static self ona()
|
||||
* @method static self music()
|
||||
* @method static self cm()
|
||||
* @method static self pv()
|
||||
* @method static self tv_special()
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime_search_query_type",
|
||||
|
@ -17,7 +17,7 @@ use Spatie\Enum\Laravel\Enum;
|
||||
* schema="manga_search_query_type",
|
||||
* description="Available Manga types",
|
||||
* type="string",
|
||||
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua","one-shot"}
|
||||
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua"}
|
||||
* )
|
||||
*/
|
||||
final class MangaTypeEnum extends Enum
|
||||
@ -31,8 +31,7 @@ final class MangaTypeEnum extends Enum
|
||||
'oneshot' => 'One-shot',
|
||||
'doujin' => 'Doujinshi',
|
||||
'manhwa' => 'Manhwa',
|
||||
'manhua' => 'Manhua',
|
||||
'one-shot' => 'One-shot'
|
||||
'manhua' => 'Manhua'
|
||||
];
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user