mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
- updated api docs - fixed top reviews endpoint - fixed reviews parsing - added "contextual" boolean query string parameters, so params without value can be interpreted as "boolean". E.g. ?sfw or ?kid in the url would add "true" value to their corresponding field in the DTO - fixed typesense issues
21 lines
357 B
PHP
21 lines
357 B
PHP
<?php
|
|
|
|
namespace App\Enums;
|
|
|
|
|
|
use Spatie\Enum\Laravel\Enum;
|
|
|
|
/**
|
|
* @method static self anime()
|
|
* @method static self manga()
|
|
* @OA\Schema(
|
|
* schema="top_reviews_type_enum",
|
|
* description="The type of reviews to filter by. Defaults to anime.",
|
|
* type="string",
|
|
* enum={"anime","manga"}
|
|
* )
|
|
*/
|
|
final class TopReviewsTypeEnum extends Enum
|
|
{
|
|
}
|