mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
update docs: validate schema
This commit is contained in:
parent
ec36214bac
commit
ec18b11be6
@ -154,7 +154,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns anime characters resource",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime characters"
|
||||
* ref="#/components/schemas/anime_characters"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -207,7 +207,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns anime staff resource",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime staff"
|
||||
* ref="#/components/schemas/anime_staff"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -263,7 +263,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns a list of anime episodes",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime episodes"
|
||||
* ref="#/components/schemas/anime_episodes"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -273,7 +273,7 @@ class AnimeController extends Controller
|
||||
* )
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime episodes",
|
||||
* schema="anime_episodes",
|
||||
* description="Anime Episodes Resource",
|
||||
*
|
||||
* allOf={
|
||||
@ -392,7 +392,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns a single anime episode resource",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime episode"
|
||||
* ref="#/components/schemas/anime_episode"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -577,7 +577,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns videos related to the entry",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime videos"
|
||||
* ref="#/components/schemas/anime_videos"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -630,7 +630,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns pictures related to the entry",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/pictures variants"
|
||||
* ref="#/components/schemas/pictures_variants"
|
||||
* )
|
||||
* ),
|
||||
*
|
||||
@ -685,7 +685,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns anime statistics",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime statistics"
|
||||
* ref="#/components/schemas/anime_statistics"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -791,7 +791,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns anime recommendations",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/entry recommendations"
|
||||
* ref="#/components/schemas/entry_recommendations"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -846,7 +846,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns a list of users who have added/updated/removed the entry on their list",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime userupdates"
|
||||
* ref="#/components/schemas/anime_userupdates"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -902,7 +902,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns anime reviews",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime reviews"
|
||||
* ref="#/components/schemas/anime_reviews"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -946,6 +946,12 @@ class AnimeController extends Controller
|
||||
* operationId="getAnimeRelations",
|
||||
* tags={"anime"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
@ -1020,11 +1026,18 @@ class AnimeController extends Controller
|
||||
* operationId="getAnimeThemes",
|
||||
* tags={"anime"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns anime themes",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime themes"
|
||||
* ref="#/components/schemas/anime_themes"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -1105,7 +1118,7 @@ class AnimeController extends Controller
|
||||
* response="200",
|
||||
* description="Returns anime external links",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/external links"
|
||||
* ref="#/components/schemas/external_links"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
|
@ -113,10 +113,17 @@ class CharacterController extends Controller
|
||||
* operationId="getCharacterAnime",
|
||||
* tags={"characters"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns anime that character is in",
|
||||
* @OA\JsonContent(ref="#/components/schemas/character anime")
|
||||
* @OA\JsonContent(ref="#/components/schemas/character_anime")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -186,10 +193,17 @@ class CharacterController extends Controller
|
||||
* operationId="getCharacterManga",
|
||||
* tags={"characters"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns manga that character is in",
|
||||
* @OA\JsonContent(ref="#/components/schemas/character manga")
|
||||
* @OA\JsonContent(ref="#/components/schemas/character_manga")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -257,10 +271,17 @@ class CharacterController extends Controller
|
||||
* operationId="getCharacterVoiceActors",
|
||||
* tags={"characters"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns the character's voice actors",
|
||||
* @OA\JsonContent(ref="#/components/schemas/character voice actors")
|
||||
* @OA\JsonContent(ref="#/components/schemas/character_voice_actors")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -339,7 +360,7 @@ class CharacterController extends Controller
|
||||
* response="200",
|
||||
* description="Returns pictures related to the entry",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/pictures"
|
||||
* ref="#/components/schemas/character_pictures"
|
||||
* )
|
||||
* ),
|
||||
*
|
||||
@ -350,7 +371,7 @@ class CharacterController extends Controller
|
||||
* )
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="character pictures",
|
||||
* schema="character_pictures",
|
||||
* description="Character Pictures",
|
||||
* @OA\Property(
|
||||
* property="data",
|
||||
|
@ -125,7 +125,7 @@ class ClubController extends Controller
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/pagination"),
|
||||
* @OA\Schema(
|
||||
* ref="#/components/schemas/club member"
|
||||
* ref="#/components/schemas/club_member"
|
||||
* )
|
||||
* }
|
||||
* )
|
||||
@ -137,7 +137,7 @@ class ClubController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="club member",
|
||||
* schema="club_member",
|
||||
* description="Club Member",
|
||||
* @OA\Property(
|
||||
* property="data",
|
||||
@ -208,7 +208,7 @@ class ClubController extends Controller
|
||||
* response="200",
|
||||
* description="Returns Club Staff",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/club staff"
|
||||
* ref="#/components/schemas/club_staff"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -293,7 +293,7 @@ class ClubController extends Controller
|
||||
* response="200",
|
||||
* description="Returns Club Relations",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/club relations"
|
||||
* ref="#/components/schemas/club_relations"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
|
@ -29,7 +29,7 @@ class GenreController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="filter",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/genre query filter")
|
||||
* @OA\Schema(ref="#/components/schemas/genre_query_filter")
|
||||
* ),
|
||||
|
||||
* @OA\Response(
|
||||
@ -93,7 +93,7 @@ class GenreController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="filter",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/genre query filter")
|
||||
* @OA\Schema(ref="#/components/schemas/genre_query_filter")
|
||||
* ),
|
||||
|
||||
* @OA\Response(
|
||||
|
@ -55,6 +55,13 @@ class MangaController extends Controller
|
||||
* operationId="getMangaById",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns pictures related to the entry",
|
||||
@ -134,11 +141,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaCharacters",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns manga characters resource",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga characters"
|
||||
* ref="#/components/schemas/manga_characters"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -180,11 +194,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaNews",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns a list of manga news topics",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga news"
|
||||
* ref="#/components/schemas/manga_news"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -194,7 +215,7 @@ class MangaController extends Controller
|
||||
* )
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga news",
|
||||
* schema="manga_news",
|
||||
* description="Manga News Resource",
|
||||
*
|
||||
* allOf={
|
||||
@ -237,6 +258,13 @@ class MangaController extends Controller
|
||||
* operationId="getMangaTopics",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns a list of manga forum topics",
|
||||
@ -284,11 +312,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaPictures",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns a list of manga forum topics",
|
||||
* description="Returns a list of manga pictures",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/pictures"
|
||||
* ref="#/components/schemas/manga_pictures"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -297,7 +332,7 @@ class MangaController extends Controller
|
||||
* ),
|
||||
* )
|
||||
* @OA\Schema(
|
||||
* schema="manga pictures",
|
||||
* schema="manga_pictures",
|
||||
* description="Manga Pictures",
|
||||
* @OA\Property(
|
||||
* property="data",
|
||||
@ -351,11 +386,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaStatistics",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns anime statistics",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga statistics"
|
||||
* ref="#/components/schemas/manga_statistics"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -397,6 +439,13 @@ class MangaController extends Controller
|
||||
* operationId="getMangaMoreInfo",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns manga moreinfo",
|
||||
@ -443,11 +492,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaRecommendations",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns manga recommendations",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/entry recommendations"
|
||||
* ref="#/components/schemas/entry_recommendations"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -489,11 +545,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaUserUpdates",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns manga user updates",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga userupdates"
|
||||
* ref="#/components/schemas/manga_userupdates"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -536,11 +599,18 @@ class MangaController extends Controller
|
||||
* operationId="getMangaReviews",
|
||||
* tags={"manga"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="id",
|
||||
* in="path",
|
||||
* required=true,
|
||||
* @OA\Schema(type="integer")
|
||||
* ),
|
||||
*
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns manga reviews",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga reviews"
|
||||
* ref="#/components/schemas/manga_reviews"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -675,7 +745,7 @@ class MangaController extends Controller
|
||||
* response="200",
|
||||
* description="Returns manga external links",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/external links"
|
||||
* ref="#/components/schemas/external_links"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
|
@ -38,7 +38,7 @@ class PersonController extends Controller
|
||||
* response="200",
|
||||
* description="Returns pictures related to the entry",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/pictures variants"
|
||||
* ref="#/components/schemas/pictures_variants"
|
||||
* )
|
||||
* ),
|
||||
*
|
||||
@ -115,7 +115,7 @@ class PersonController extends Controller
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns person's anime staff positions",
|
||||
* @OA\JsonContent(ref="#/components/schemas/person anime")
|
||||
* @OA\JsonContent(ref="#/components/schemas/person_anime")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -190,7 +190,7 @@ class PersonController extends Controller
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns person's voice acting roles",
|
||||
* @OA\JsonContent(ref="#/components/schemas/person voice acting roles")
|
||||
* @OA\JsonContent(ref="#/components/schemas/person_voice_acting_roles")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -265,7 +265,7 @@ class PersonController extends Controller
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns person's published manga works",
|
||||
* @OA\JsonContent(ref="#/components/schemas/person manga")
|
||||
* @OA\JsonContent(ref="#/components/schemas/person_manga")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -348,7 +348,7 @@ class PersonController extends Controller
|
||||
* response="200",
|
||||
* description="Returns a list of pictures of the person",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/person pictures"
|
||||
* ref="#/components/schemas/person_pictures"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -358,7 +358,7 @@ class PersonController extends Controller
|
||||
* )
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="person pictures",
|
||||
* schema="person_pictures",
|
||||
* description="Character Pictures",
|
||||
* @OA\Property(
|
||||
* property="data",
|
||||
|
@ -209,7 +209,7 @@ class RandomController extends Controller
|
||||
* @OA\JsonContent(
|
||||
* @OA\Property(
|
||||
* property="data",
|
||||
* ref="#/components/schemas/user profile"
|
||||
* ref="#/components/schemas/user_profile"
|
||||
* )
|
||||
* )
|
||||
* ),
|
||||
|
@ -34,19 +34,19 @@ class ReviewsController extends Controller
|
||||
*
|
||||
* @OA\Items(
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime review"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="anime",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta",
|
||||
* ref="#/components/schemas/anime_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta",
|
||||
* ref="#/components/schemas/user_meta",
|
||||
* ),
|
||||
* ),
|
||||
* }
|
||||
@ -113,19 +113,19 @@ class ReviewsController extends Controller
|
||||
*
|
||||
* @OA\Items(
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/manga review"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="manga",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga meta",
|
||||
* ref="#/components/schemas/manga_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta",
|
||||
* ref="#/components/schemas/user_meta",
|
||||
* ),
|
||||
* ),
|
||||
* }
|
||||
|
@ -46,7 +46,7 @@ class ScheduleController extends Controller
|
||||
* tags={"schedules"},
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="topic",
|
||||
* name="filter",
|
||||
* in="path",
|
||||
* required=false,
|
||||
* description="Filter by day",
|
||||
|
@ -58,7 +58,7 @@ class SearchController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="search query sort",
|
||||
* schema="search_query_sort",
|
||||
* description="Characters Search Query Sort",
|
||||
* type="string",
|
||||
* enum={"desc","asc"}
|
||||
@ -83,7 +83,7 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="type",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/anime search query type")
|
||||
* @OA\Schema(ref="#/components/schemas/anime_search_query_type")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -109,13 +109,13 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="status",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/anime search query status")
|
||||
* @OA\Schema(ref="#/components/schemas/anime_search_query_status")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="rating",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/anime search query rating")
|
||||
* @OA\Schema(ref="#/components/schemas/anime_search_query_rating")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -142,13 +142,13 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="order_by",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/anime search query orderby")
|
||||
* @OA\Schema(ref="#/components/schemas/anime_search_query_orderby")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -169,7 +169,7 @@ class SearchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns search results for anime",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime search"
|
||||
* ref="#/components/schemas/anime_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -232,7 +232,7 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="type",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/manga search query type")
|
||||
* @OA\Schema(ref="#/components/schemas/manga_search_query_type")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -258,7 +258,7 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="status",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/manga search query status")
|
||||
* @OA\Schema(ref="#/components/schemas/manga_search_query_status")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -285,13 +285,13 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="order_by",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/manga search query orderby")
|
||||
* @OA\Schema(ref="#/components/schemas/manga_search_query_orderby")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -312,7 +312,7 @@ class SearchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns search results for manga",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga search"
|
||||
* ref="#/components/schemas/manga_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -375,13 +375,13 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="order_by",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/people search query orderby")
|
||||
* @OA\Schema(ref="#/components/schemas/people_search_query_orderby")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -394,7 +394,7 @@ class SearchController extends Controller
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns search results for people",
|
||||
* @OA\JsonContent(ref="#/components/schemas/people search")
|
||||
* @OA\JsonContent(ref="#/components/schemas/people_search")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -455,13 +455,13 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="order_by",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/characters search query orderby")
|
||||
* @OA\Schema(ref="#/components/schemas/characters_search_query_orderby")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -475,7 +475,7 @@ class SearchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns search results for characters",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/characters search"
|
||||
* ref="#/components/schemas/characters_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -537,7 +537,7 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="gender",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/users search query gender")
|
||||
* @OA\Schema(ref="#/components/schemas/users_search_query_gender")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -562,7 +562,7 @@ class SearchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns search results for users",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/users search"
|
||||
* ref="#/components/schemas/users_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -572,7 +572,7 @@ class SearchController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="users search",
|
||||
* schema="users_search",
|
||||
* description="User Results",
|
||||
*
|
||||
* allOf={
|
||||
@ -596,7 +596,7 @@ class SearchController extends Controller
|
||||
* description="MyAnimeList Username"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* ref="#/components/schemas/user images"
|
||||
* ref="#/components/schemas/user_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="last_online",
|
||||
@ -651,7 +651,7 @@ class SearchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns username by ID search",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user by id"
|
||||
* ref="#/components/schemas/user_by_id"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -707,25 +707,25 @@ class SearchController extends Controller
|
||||
* @OA\Parameter(
|
||||
* name="type",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/club search query type")
|
||||
* @OA\Schema(ref="#/components/schemas/club_search_query_type")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="category",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/club search query category")
|
||||
* @OA\Schema(ref="#/components/schemas/club_search_query_category")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="order_by",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/club search query orderby")
|
||||
* @OA\Schema(ref="#/components/schemas/club_search_query_orderby")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
@ -739,7 +739,7 @@ class SearchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns search results for clubs",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/clubs search"
|
||||
* ref="#/components/schemas/clubs_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
|
@ -34,7 +34,7 @@ class SeasonController extends Controller
|
||||
* response="200",
|
||||
* description="Returns seasonal anime",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime search"
|
||||
* ref="#/components/schemas/anime_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -52,7 +52,7 @@ class SeasonController extends Controller
|
||||
* response="200",
|
||||
* description="Returns current seasonal anime",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime search"
|
||||
* ref="#/components/schemas/anime_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -202,7 +202,7 @@ class SeasonController extends Controller
|
||||
* response="200",
|
||||
* description="Returns upcoming season's anime",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime search"
|
||||
* ref="#/components/schemas/anime_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
|
@ -37,7 +37,7 @@ class TopController extends Controller
|
||||
* response="200",
|
||||
* description="Returns top anime",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/anime search"
|
||||
* ref="#/components/schemas/anime_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -91,7 +91,7 @@ class TopController extends Controller
|
||||
* response="200",
|
||||
* description="Returns top manga",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/manga search"
|
||||
* ref="#/components/schemas/manga_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -145,7 +145,7 @@ class TopController extends Controller
|
||||
* response="200",
|
||||
* description="Returns top people",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/people search"
|
||||
* ref="#/components/schemas/people_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -199,7 +199,7 @@ class TopController extends Controller
|
||||
* response="200",
|
||||
* description="Returns top characters",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/characters search"
|
||||
* ref="#/components/schemas/characters_search"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -266,38 +266,38 @@ class TopController extends Controller
|
||||
* anyOf={
|
||||
* @OA\Schema(
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime review"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="anime",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta",
|
||||
* ref="#/components/schemas/anime_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta",
|
||||
* ref="#/components/schemas/user_meta",
|
||||
* ),
|
||||
* ),
|
||||
* },
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/manga review"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="manga",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga meta",
|
||||
* ref="#/components/schemas/manga_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta",
|
||||
* ref="#/components/schemas/user_meta",
|
||||
* ),
|
||||
* ),
|
||||
* },
|
||||
@ -317,7 +317,7 @@ class TopController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="reviews collection",
|
||||
* schema="reviews_collection",
|
||||
* description="Anime & Manga Reviews Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -327,8 +327,8 @@ class TopController extends Controller
|
||||
* @OA\Items(
|
||||
* type="object",
|
||||
* anyOf = {
|
||||
* @OA\Schema(ref="#/components/schemas/anime review"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga review"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_review"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_review"),
|
||||
* },
|
||||
* ),
|
||||
* ),
|
||||
|
@ -51,7 +51,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user profile",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user profile"
|
||||
* ref="#/components/schemas/user_profile"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -134,7 +134,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user statistics",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user statistics"
|
||||
* ref="#/components/schemas/user_statistics"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -219,7 +219,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user favorites",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user favorites"
|
||||
* ref="#/components/schemas/user_favorites"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -303,7 +303,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user updates",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user updates"
|
||||
* ref="#/components/schemas/user_updates"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -387,7 +387,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user about in raw HTML",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user about"
|
||||
* ref="#/components/schemas/user_about"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -478,7 +478,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user history (past 30 days)",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user history"
|
||||
* ref="#/components/schemas/user_history"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -539,7 +539,7 @@ class UserController extends Controller
|
||||
* response="200",
|
||||
* description="Returns user friends",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/user friends"
|
||||
* ref="#/components/schemas/user_friends"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -549,7 +549,7 @@ class UserController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user friends",
|
||||
* schema="user_friends",
|
||||
* description="User Friends",
|
||||
*
|
||||
* allOf={
|
||||
@ -569,7 +569,7 @@ class UserController extends Controller
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta"
|
||||
* ref="#/components/schemas/user_meta"
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema (
|
||||
@ -804,38 +804,38 @@ class UserController extends Controller
|
||||
* anyOf={
|
||||
* @OA\Schema(
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime review"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="anime",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta",
|
||||
* ref="#/components/schemas/anime_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta",
|
||||
* ref="#/components/schemas/user_meta",
|
||||
* ),
|
||||
* ),
|
||||
* },
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/manga review"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="manga",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga meta",
|
||||
* ref="#/components/schemas/manga_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta",
|
||||
* ref="#/components/schemas/user_meta",
|
||||
* ),
|
||||
* ),
|
||||
* },
|
||||
@ -951,7 +951,7 @@ class UserController extends Controller
|
||||
* @OA\Response(
|
||||
* response="200",
|
||||
* description="Returns user clubs",
|
||||
* @OA\JsonContent(ref="#/components/schemas/user clubs")
|
||||
* @OA\JsonContent(ref="#/components/schemas/user_clubs")
|
||||
* ),
|
||||
* @OA\Response(
|
||||
* response="400",
|
||||
@ -960,7 +960,7 @@ class UserController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user clubs",
|
||||
* schema="user_clubs",
|
||||
* description="User Clubs",
|
||||
*
|
||||
* allOf={
|
||||
|
@ -28,7 +28,7 @@ class WatchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns Recently Added Episodes",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/watch episodes"
|
||||
* ref="#/components/schemas/watch_episodes"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -38,7 +38,7 @@ class WatchController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="watch episodes",
|
||||
* schema="watch_episodes",
|
||||
* description="Watch Episodes",
|
||||
*
|
||||
* allOf={
|
||||
@ -54,7 +54,7 @@ class WatchController extends Controller
|
||||
* @OA\Property(
|
||||
* property="entry",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta"
|
||||
* ref="#/components/schemas/anime_meta"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="episodes",
|
||||
@ -132,7 +132,7 @@ class WatchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns Popular Episodes",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/watch episodes"
|
||||
* ref="#/components/schemas/watch_episodes"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -178,7 +178,7 @@ class WatchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns Recently Added Promotional Videos",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/watch promos"
|
||||
* ref="#/components/schemas/watch_promos"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
@ -188,7 +188,7 @@ class WatchController extends Controller
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="watch promos",
|
||||
* schema="watch_promos",
|
||||
* description="Watch Promos",
|
||||
*
|
||||
* allOf={
|
||||
@ -213,7 +213,7 @@ class WatchController extends Controller
|
||||
* @OA\Property(
|
||||
* property="entry",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta"
|
||||
* ref="#/components/schemas/anime_meta"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="trailer",
|
||||
@ -269,7 +269,7 @@ class WatchController extends Controller
|
||||
* response="200",
|
||||
* description="Returns Popular Promotional Videos",
|
||||
* @OA\JsonContent(
|
||||
* ref="#/components/schemas/watch promos"
|
||||
* ref="#/components/schemas/watch_promos"
|
||||
* )
|
||||
* ),
|
||||
* @OA\Response(
|
||||
|
@ -21,7 +21,7 @@ class SearchQueryBuilderAnime implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime search query type",
|
||||
* schema="anime_search_query_type",
|
||||
* description="Available Anime types",
|
||||
* type="string",
|
||||
* enum={"tv","movie","ova","special","ona","music"}
|
||||
@ -38,7 +38,7 @@ class SearchQueryBuilderAnime implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime search query status",
|
||||
* schema="anime_search_query_status",
|
||||
* description="Available Anime statuses",
|
||||
* type="string",
|
||||
* enum={"airing","complete","upcoming"}
|
||||
@ -52,7 +52,7 @@ class SearchQueryBuilderAnime implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime search query rating",
|
||||
* schema="anime_search_query_rating",
|
||||
* description="Available Anime audience ratings<br><br><b>Ratings</b><br><ul><li>G - All Ages</li><li>PG - Children</li><li>PG-13 - Teens 13 or older</li><li>R - 17+ (violence & profanity)</li><li>R+ - Mild Nudity</li><li>Rx - Hentai</li></ul>",
|
||||
* type="string",
|
||||
* enum={"g","pg","pg13","r17","r","rx"}
|
||||
@ -69,7 +69,7 @@ class SearchQueryBuilderAnime implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime search query orderby",
|
||||
* schema="anime_search_query_orderby",
|
||||
* description="Available Anime order_by properties",
|
||||
* type="string",
|
||||
* enum={"mal_id", "title", "type", "rating", "start_date", "end_date", "episodes", "score", "scored_by", "rank", "popularity", "members", "favorites" }
|
||||
|
@ -21,7 +21,7 @@ class SearchQueryBuilderCharacter implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="characters search query orderby",
|
||||
* schema="characters_search_query_orderby",
|
||||
* description="Available Character order_by properties",
|
||||
* type="string",
|
||||
* enum={"mal_id", "name", "favorites"}
|
||||
|
@ -21,7 +21,7 @@ class SearchQueryBuilderClub implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="club search query type",
|
||||
* schema="club_search_query_type",
|
||||
* description="Club Search Query Type",
|
||||
* type="string",
|
||||
* enum={"public","private","secret"}
|
||||
@ -35,7 +35,7 @@ class SearchQueryBuilderClub implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="club search query category",
|
||||
* schema="club_search_query_category",
|
||||
* description="Club Search Query Category",
|
||||
* type="string",
|
||||
* enum={
|
||||
@ -62,7 +62,7 @@ class SearchQueryBuilderClub implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="club search query orderby",
|
||||
* schema="club_search_query_orderby",
|
||||
* description="Club Search Query OrderBy",
|
||||
* type="string",
|
||||
* enum={"mal_id","title","members_count","pictures_count","created"}
|
||||
|
@ -14,7 +14,7 @@ class SearchQueryBuilderManga implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="manga search query type",
|
||||
* schema="manga_search_query_type",
|
||||
* description="Available Manga types",
|
||||
* type="string",
|
||||
* enum={"manga","novel", "lightnovel", "oneshot","doujin","manhwa","manhua"}
|
||||
@ -32,7 +32,7 @@ class SearchQueryBuilderManga implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="manga search query status",
|
||||
* schema="manga_search_query_status",
|
||||
* description="Available Manga statuses",
|
||||
* type="string",
|
||||
* enum={"publishing","complete","hiatus","discontinued","upcoming"}
|
||||
@ -48,7 +48,7 @@ class SearchQueryBuilderManga implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="manga search query orderby",
|
||||
* schema="manga_search_query_orderby",
|
||||
* description="Available Manga order_by properties",
|
||||
* type="string",
|
||||
* enum={"mal_id", "title", "start_date", "end_date", "chapters", "volumes", "score", "scored_by", "rank", "popularity", "members", "favorites"}
|
||||
|
@ -21,7 +21,7 @@ class SearchQueryBuilderPeople implements SearchQueryBuilderInterface
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="people search query orderby",
|
||||
* schema="people_search_query_orderby",
|
||||
* description="Available People order_by properties",
|
||||
* type="string",
|
||||
* enum={"mal_id", "name", "birthday", "favorites"}
|
||||
|
@ -16,7 +16,7 @@ class SearchQueryBuilderUsers
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="users search query gender",
|
||||
* schema="users_search_query_gender",
|
||||
* description="Users Search Query Gender",
|
||||
* type="string",
|
||||
* enum={"any","male","female","nonbinary"}
|
||||
|
@ -8,7 +8,7 @@ class AnimeCharactersResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime characters",
|
||||
* schema="anime_characters",
|
||||
* description="Anime Characters Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -36,7 +36,7 @@ class AnimeCharactersResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/character images"
|
||||
* ref="#/components/schemas/character_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="name",
|
||||
@ -71,7 +71,7 @@ class AnimeCharactersResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/people images"
|
||||
* ref="#/components/schemas/people_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="name",
|
||||
|
@ -15,7 +15,7 @@ class AnimeCollection extends ResourceCollection
|
||||
* @var string
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime search",
|
||||
* schema="anime_search",
|
||||
* description="Anime Collection Resource",
|
||||
*
|
||||
* allOf={
|
||||
|
@ -8,7 +8,7 @@ class AnimeEpisodeResource extends JsonResource
|
||||
{
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime episode",
|
||||
* schema="anime_episode",
|
||||
* description="Anime Episode Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -9,7 +9,7 @@ class AnimeRelationsResource extends JsonResource
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime relations",
|
||||
* schema="anime_relations",
|
||||
* description="Anime Relations",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -23,11 +23,11 @@ class AnimeResource extends JsonResource
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* ref="#/components/schemas/anime images"
|
||||
* ref="#/components/schemas/anime_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="trailer",
|
||||
* ref="#/components/schemas/trailer base"
|
||||
* ref="#/components/schemas/trailer_base"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="title",
|
||||
|
@ -9,7 +9,7 @@ class AnimeStaffResource extends JsonResource
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime staff",
|
||||
* schema="anime_staff",
|
||||
* description="Anime Staff Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -37,7 +37,7 @@ class AnimeStaffResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="string",
|
||||
* ref="#/components/schemas/people images"
|
||||
* ref="#/components/schemas/people_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="name",
|
||||
|
@ -13,7 +13,7 @@ class AnimeStatisticsResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime statistics",
|
||||
* schema="anime_statistics",
|
||||
* description="Anime Statistics Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -9,7 +9,7 @@ class AnimeThemesResource extends JsonResource
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="anime themes",
|
||||
* schema="anime_themes",
|
||||
* description="Anime Opening and Ending Themes",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -13,7 +13,7 @@ class AnimeVideosResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime videos",
|
||||
* schema="anime_videos",
|
||||
* description="Anime Videos Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -66,7 +66,7 @@ class AnimeVideosResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/common images"
|
||||
* ref="#/components/schemas/common_images"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -12,7 +12,7 @@ class CharacterAnimeCollection extends ResourceCollection
|
||||
* The resource that this resource collects.
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="character anime",
|
||||
* schema="character_anime",
|
||||
* description="Character casted in anime",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -30,7 +30,7 @@ class CharacterAnimeCollection extends ResourceCollection
|
||||
* @OA\Property(
|
||||
* property="anime",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta"
|
||||
* ref="#/components/schemas/anime_meta"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -15,7 +15,7 @@ class CharacterCollection extends ResourceCollection
|
||||
* @var string
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="characters search",
|
||||
* schema="characters_search",
|
||||
* description="Characters Search Resource",
|
||||
*
|
||||
* allOf={
|
||||
|
@ -12,7 +12,7 @@ class CharacterMangaCollection extends ResourceCollection
|
||||
* The resource that this resource collects.
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="character manga",
|
||||
* schema="character_manga",
|
||||
* description="Character casted in manga",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -30,7 +30,7 @@ class CharacterMangaCollection extends ResourceCollection
|
||||
* @OA\Property(
|
||||
* property="manga",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga meta"
|
||||
* ref="#/components/schemas/manga_meta"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -23,7 +23,7 @@ class CharacterResource extends JsonResource
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* ref="#/components/schemas/character images"
|
||||
* ref="#/components/schemas/character_images"
|
||||
* ),
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -12,7 +12,7 @@ class CharacterSeiyuuCollection extends ResourceCollection
|
||||
* The resource that this resource collects.
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="character voice actors",
|
||||
* schema="character_voice_actors",
|
||||
* description="Character voice actors",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -30,7 +30,7 @@ class CharacterSeiyuuCollection extends ResourceCollection
|
||||
* @OA\Property(
|
||||
* property="person",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/person meta"
|
||||
* ref="#/components/schemas/person_meta"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -23,7 +23,7 @@ class ClubCollection extends ResourceCollection
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="clubs search",
|
||||
* schema="clubs_search",
|
||||
* description="Clubs Search Resource",
|
||||
*
|
||||
* allOf={
|
||||
|
@ -9,7 +9,7 @@ class ClubRelationsResource extends JsonResource
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="club relations",
|
||||
* schema="club_relations",
|
||||
* description="Club Relations",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -38,7 +38,7 @@ class ClubResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/common images",
|
||||
* ref="#/components/schemas/common_images",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="members",
|
||||
|
@ -9,7 +9,7 @@ class ClubStaffResource extends JsonResource
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="club staff",
|
||||
* schema="club_staff",
|
||||
* description="Club Staff Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -13,13 +13,13 @@ class CommonResource extends JsonResource
|
||||
* description="Youtube Details",
|
||||
*
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/trailer base"),
|
||||
* @OA\Schema(ref="#/components/schemas/trailer images"),
|
||||
* @OA\Schema(ref="#/components/schemas/trailer_base"),
|
||||
* @OA\Schema(ref="#/components/schemas/trailer_images"),
|
||||
* }
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="trailer base",
|
||||
* schema="trailer_base",
|
||||
* type="object",
|
||||
* description="Youtube Details",
|
||||
*
|
||||
@ -41,7 +41,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="trailer images",
|
||||
* schema="trailer_images",
|
||||
* type="object",
|
||||
* description="Youtube Images",
|
||||
*
|
||||
@ -294,7 +294,7 @@ class CommonResource extends JsonResource
|
||||
*
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user meta",
|
||||
* schema="user_meta",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="username",
|
||||
@ -309,12 +309,12 @@ class CommonResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user images",
|
||||
* ref="#/components/schemas/user_images",
|
||||
* ),
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user by id",
|
||||
* schema="user_by_id",
|
||||
* description="User Meta By ID",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -335,7 +335,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user images",
|
||||
* schema="user_images",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="jpg",
|
||||
@ -360,7 +360,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime meta",
|
||||
* schema="anime_meta",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
@ -375,7 +375,7 @@ class CommonResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime images",
|
||||
* ref="#/components/schemas/anime_images",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="title",
|
||||
@ -385,7 +385,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga meta",
|
||||
* schema="manga_meta",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
@ -400,7 +400,7 @@ class CommonResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga images",
|
||||
* ref="#/components/schemas/manga_images",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="title",
|
||||
@ -410,7 +410,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="character meta",
|
||||
* schema="character_meta",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
@ -425,7 +425,7 @@ class CommonResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/character images",
|
||||
* ref="#/components/schemas/character_images",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="name",
|
||||
@ -435,7 +435,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="person meta",
|
||||
* schema="person_meta",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
@ -450,7 +450,7 @@ class CommonResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/people images",
|
||||
* ref="#/components/schemas/people_images",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="name",
|
||||
@ -460,7 +460,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime images",
|
||||
* schema="anime_images",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="jpg",
|
||||
@ -505,7 +505,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga images",
|
||||
* schema="manga_images",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="jpg",
|
||||
@ -550,7 +550,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="character images",
|
||||
* schema="character_images",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="jpg",
|
||||
@ -585,7 +585,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="people images",
|
||||
* schema="people_images",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="jpg",
|
||||
@ -600,7 +600,7 @@ class CommonResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="common images",
|
||||
* schema="common_images",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="jpg",
|
||||
|
@ -9,7 +9,7 @@ class ExternalLinksResource extends JsonResource
|
||||
|
||||
/**
|
||||
* @OA\Schema(
|
||||
* schema="external links",
|
||||
* schema="external_links",
|
||||
* description="External links",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -36,7 +36,7 @@ class GenreCollection extends ResourceCollection
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="genre query filter",
|
||||
* schema="genre_query_filter",
|
||||
* description="Filter genres by type",
|
||||
* type="string",
|
||||
* enum={"genres","explicit_genres", "themes", "demographics"}
|
||||
|
@ -44,7 +44,7 @@ class MagazineCollection extends ResourceCollection
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
|
@ -13,7 +13,7 @@ class MangaCharactersResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga characters",
|
||||
* schema="manga_characters",
|
||||
* description="Manga Characters Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -25,7 +25,7 @@ class MangaCharactersResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="character",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/character meta",
|
||||
* ref="#/components/schemas/character_meta",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="role",
|
||||
|
@ -15,7 +15,7 @@ class MangaCollection extends ResourceCollection
|
||||
* @var string
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga search",
|
||||
* schema="manga_search",
|
||||
* description="Manga Search Resource",
|
||||
*
|
||||
* allOf={
|
||||
|
@ -23,7 +23,7 @@ class MangaResource extends JsonResource
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* ref="#/components/schemas/manga images"
|
||||
* ref="#/components/schemas/manga_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="title",
|
||||
|
@ -13,7 +13,7 @@ class MangaStatisticsResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga statistics",
|
||||
* schema="manga_statistics",
|
||||
* description="Manga Statistics Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -53,7 +53,7 @@ class NewsResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/common images"
|
||||
* ref="#/components/schemas/common_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="comments",
|
||||
|
@ -12,7 +12,7 @@ class PersonAnimeCollection extends ResourceCollection
|
||||
* The resource that this resource collects.
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="person anime",
|
||||
* schema="person_anime",
|
||||
* description="Person anime staff positions",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -30,7 +30,7 @@ class PersonAnimeCollection extends ResourceCollection
|
||||
* @OA\Property(
|
||||
* property="anime",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta"
|
||||
* ref="#/components/schemas/anime_meta"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -15,7 +15,7 @@ class PersonCollection extends ResourceCollection
|
||||
* @var string
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="people search",
|
||||
* schema="people_search",
|
||||
* description="People Search",
|
||||
*
|
||||
* allOf={
|
||||
|
@ -12,7 +12,7 @@ class PersonMangaCollection extends ResourceCollection
|
||||
* The resource that this resource collects.
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="person manga",
|
||||
* schema="person_manga",
|
||||
* description="Person's mangaography",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -30,7 +30,7 @@ class PersonMangaCollection extends ResourceCollection
|
||||
* @OA\Property(
|
||||
* property="manga",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga meta"
|
||||
* ref="#/components/schemas/manga_meta"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -30,7 +30,7 @@ class PersonResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/people images",
|
||||
* ref="#/components/schemas/people_images",
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="name",
|
||||
|
@ -12,7 +12,7 @@ class PersonVoicesCollection extends ResourceCollection
|
||||
* The resource that this resource collects.
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="person voice acting roles",
|
||||
* schema="person_voice_acting_roles",
|
||||
* description="Person's voice acting roles",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -31,13 +31,13 @@ class PersonVoicesCollection extends ResourceCollection
|
||||
* property="anime",
|
||||
* type="object",
|
||||
* description="The anime in which the person is voice acting in",
|
||||
* ref="#/components/schemas/anime meta"
|
||||
* ref="#/components/schemas/anime_meta"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="character",
|
||||
* type="object",
|
||||
* description="The character the person is voice acting for",
|
||||
* ref="#/components/schemas/character meta"
|
||||
* ref="#/components/schemas/character_meta"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -24,14 +24,14 @@ class PicturesResource extends JsonResource
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* ref="#/components/schemas/anime images"
|
||||
* ref="#/components/schemas/anime_images"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="pictures variants",
|
||||
* schema="pictures_variants",
|
||||
* description="Pictures Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -42,7 +42,7 @@ class PicturesResource extends JsonResource
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* ref="#/components/schemas/common images"
|
||||
* ref="#/components/schemas/common_images"
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -44,7 +44,7 @@ class ProducerCollection extends ResourceCollection
|
||||
* @OA\Parameter(
|
||||
* name="sort",
|
||||
* in="query",
|
||||
* @OA\Schema(ref="#/components/schemas/search query sort")
|
||||
* @OA\Schema(ref="#/components/schemas/search_query_sort")
|
||||
* ),
|
||||
*
|
||||
* @OA\Parameter(
|
||||
|
@ -12,7 +12,7 @@ class ProfileAboutResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user about",
|
||||
* schema="user_about",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -13,7 +13,7 @@ class ProfileFavoritesResource extends JsonResource
|
||||
*
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user favorites",
|
||||
* schema="user_favorites",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -30,7 +30,7 @@ class ProfileFavoritesResource extends JsonResource
|
||||
* type="object",
|
||||
*
|
||||
* allOf={
|
||||
* @OA\Schema (ref="#/components/schemas/anime meta"),
|
||||
* @OA\Schema (ref="#/components/schemas/anime_meta"),
|
||||
* @OA\Schema (
|
||||
* @OA\Property (
|
||||
* property="type",
|
||||
@ -52,7 +52,7 @@ class ProfileFavoritesResource extends JsonResource
|
||||
* @OA\Items (
|
||||
* type="object",
|
||||
* allOf={
|
||||
* @OA\Schema (ref="#/components/schemas/manga meta"),
|
||||
* @OA\Schema (ref="#/components/schemas/manga_meta"),
|
||||
* @OA\Schema (
|
||||
* @OA\Property (
|
||||
* property="type",
|
||||
@ -75,7 +75,7 @@ class ProfileFavoritesResource extends JsonResource
|
||||
* @OA\Items (
|
||||
* type="object",
|
||||
* allOf={
|
||||
* @OA\Schema (ref="#/components/schemas/character meta"),
|
||||
* @OA\Schema (ref="#/components/schemas/character_meta"),
|
||||
* @OA\Schema (
|
||||
* @OA\Property (
|
||||
* type="object",
|
||||
@ -94,7 +94,7 @@ class ProfileFavoritesResource extends JsonResource
|
||||
*
|
||||
* @OA\Property (
|
||||
* type="object",
|
||||
* ref="#/components/schemas/character meta",
|
||||
* ref="#/components/schemas/character_meta",
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
|
@ -13,7 +13,7 @@ class ProfileHistoryResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user history",
|
||||
* schema="user_history",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -12,7 +12,7 @@ class ProfileLastUpdatesResource extends JsonResource
|
||||
* @return array|\Illuminate\Contracts\Support\Arrayable|\JsonSerializable|mixed
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user updates",
|
||||
* schema="user_updates",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -32,7 +32,7 @@ class ProfileLastUpdatesResource extends JsonResource
|
||||
* @OA\Property (
|
||||
* property="entry",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/anime meta",
|
||||
* ref="#/components/schemas/anime_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema (
|
||||
@ -74,7 +74,7 @@ class ProfileLastUpdatesResource extends JsonResource
|
||||
* @OA\Property (
|
||||
* property="entry",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/manga meta",
|
||||
* ref="#/components/schemas/manga_meta",
|
||||
* ),
|
||||
* ),
|
||||
* @OA\Schema (
|
||||
|
@ -14,7 +14,7 @@ class ProfileResource extends JsonResource
|
||||
*
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user profile",
|
||||
* schema="user_profile",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -35,7 +35,7 @@ class ProfileResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="images",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user images"
|
||||
* ref="#/components/schemas/user_images"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="last_online",
|
||||
|
@ -12,7 +12,7 @@ class ProfileStatisticsResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="user statistics",
|
||||
* schema="user_statistics",
|
||||
* type="object",
|
||||
*
|
||||
* @OA\Property(
|
||||
|
@ -40,8 +40,8 @@ class RecommendationsResource extends JsonResource
|
||||
* @OA\Items(
|
||||
* type="object",
|
||||
* anyOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_meta"),
|
||||
* }
|
||||
* ),
|
||||
* ),
|
||||
@ -55,7 +55,7 @@ class RecommendationsResource extends JsonResource
|
||||
* @OA\Property (
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user by id",
|
||||
* ref="#/components/schemas/user_by_id",
|
||||
* ),
|
||||
* ),
|
||||
* ),
|
||||
@ -65,7 +65,7 @@ class RecommendationsResource extends JsonResource
|
||||
*
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="entry recommendations",
|
||||
* schema="entry_recommendations",
|
||||
* description="Entry Recommendations Resource",
|
||||
*
|
||||
* @OA\Property(
|
||||
@ -83,8 +83,8 @@ class RecommendationsResource extends JsonResource
|
||||
* @OA\Items(
|
||||
* type="object",
|
||||
* anyOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_meta"),
|
||||
* }
|
||||
* ),
|
||||
* ),
|
||||
|
@ -9,7 +9,7 @@ class ReviewsResource extends JsonResource
|
||||
/**
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga review",
|
||||
* schema="manga_review",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
@ -79,7 +79,7 @@ class ReviewsResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime review",
|
||||
* schema="anime_review",
|
||||
* type="object",
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
@ -155,7 +155,7 @@ class ReviewsResource extends JsonResource
|
||||
*
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime reviews",
|
||||
* schema="anime_reviews",
|
||||
* description="Anime Reviews Resource",
|
||||
*
|
||||
* allOf={
|
||||
@ -169,12 +169,12 @@ class ReviewsResource extends JsonResource
|
||||
* type="object",
|
||||
*
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime review"),
|
||||
* @OA\Schema(ref="#/components/schemas/anime_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta"
|
||||
* ref="#/components/schemas/user_meta"
|
||||
* ),
|
||||
* ),
|
||||
* },
|
||||
@ -186,7 +186,7 @@ class ReviewsResource extends JsonResource
|
||||
*
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga reviews",
|
||||
* schema="manga_reviews",
|
||||
* description="Manga Reviews Resource",
|
||||
*
|
||||
*
|
||||
@ -201,12 +201,12 @@ class ReviewsResource extends JsonResource
|
||||
* type="object",
|
||||
*
|
||||
* allOf={
|
||||
* @OA\Schema(ref="#/components/schemas/manga review"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_review"),
|
||||
* @OA\Schema(
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta"
|
||||
* ref="#/components/schemas/user_meta"
|
||||
* ),
|
||||
* ),
|
||||
* },
|
||||
|
@ -13,7 +13,7 @@ class UserUpdatesResource extends JsonResource
|
||||
* @return array
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="anime userupdates",
|
||||
* schema="anime_userupdates",
|
||||
* description="Anime User Updates Resource",
|
||||
*
|
||||
* allOf={
|
||||
@ -28,7 +28,7 @@ class UserUpdatesResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta"
|
||||
* ref="#/components/schemas/user_meta"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="score",
|
||||
@ -62,7 +62,7 @@ class UserUpdatesResource extends JsonResource
|
||||
* ),
|
||||
*
|
||||
* @OA\Schema(
|
||||
* schema="manga userupdates",
|
||||
* schema="manga_userupdates",
|
||||
* description="Manga User Updates Resource",
|
||||
*
|
||||
* allOf={
|
||||
@ -76,7 +76,7 @@ class UserUpdatesResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="user",
|
||||
* type="object",
|
||||
* ref="#/components/schemas/user meta"
|
||||
* ref="#/components/schemas/user_meta"
|
||||
* ),
|
||||
* @OA\Property(
|
||||
* property="score",
|
||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user