mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
update docs: validate
This commit is contained in:
parent
99ea56d4e7
commit
9bae8641c3
@ -28,7 +28,7 @@ class RecommendationsResource extends JsonResource
|
||||
*
|
||||
* @OA\Property(
|
||||
* property="mal_id",
|
||||
* type="String",
|
||||
* type="string",
|
||||
* description="MAL IDs of recommendations is both of the MAL ID's with a `-` delimiter",
|
||||
* ),
|
||||
*
|
||||
@ -39,7 +39,7 @@ class RecommendationsResource extends JsonResource
|
||||
*
|
||||
* @OA\Items(
|
||||
* type="object",
|
||||
* oneOf={
|
||||
* anyOf={
|
||||
* @OA\Schema(ref="#/components/schemas/anime_meta"),
|
||||
* @OA\Schema(ref="#/components/schemas/manga_meta"),
|
||||
* }
|
||||
|
@ -6703,14 +6703,14 @@
|
||||
"properties": {
|
||||
"mal_id": {
|
||||
"description": "MAL IDs of recommendations is both of the MAL ID's with a `-` delimiter",
|
||||
"type": "String"
|
||||
"type": "string"
|
||||
},
|
||||
"entry": {
|
||||
"description": "Array of 2 entries that are being recommended to each other",
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"oneOf": [
|
||||
"anyOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/anime_meta"
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user