update docs: validate

This commit is contained in:
Irfan 2022-02-11 20:00:59 +05:00
parent 99ea56d4e7
commit 9bae8641c3
2 changed files with 4 additions and 4 deletions

View File

@ -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"),
* }

View File

@ -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"
},