jikan-rest/app/Enums/TopReviewsTypeEnum.php
pushrbx 0211fc4128 multiple fixes
- 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
2023-05-21 11:18:02 +01:00

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
{
}