mirror of
https://github.com/jikan-me/jikan-rest.git
synced 2025-02-20 11:23:35 +08:00
Merge pull request #246 from nerg4l/bugfix/season-value
Fix OpenAPI schema of season enum
This commit is contained in:
commit
c1ef22ca93
@ -154,7 +154,7 @@ class AnimeFullResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="season",
|
||||
* type="string",
|
||||
* enum={"Summer", "Winter", "Spring", "Fall"},
|
||||
* enum={"summer", "winter", "spring", "fall"},
|
||||
* description="Season",
|
||||
* nullable=true
|
||||
* ),
|
||||
@ -337,4 +337,4 @@ class AnimeFullResource extends JsonResource
|
||||
'external' => $this->external_links,
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -154,7 +154,7 @@ class AnimeResource extends JsonResource
|
||||
* @OA\Property(
|
||||
* property="season",
|
||||
* type="string",
|
||||
* enum={"Summer", "Winter", "Spring", "Fall"},
|
||||
* enum={"summer", "winter", "spring", "fall"},
|
||||
* description="Season",
|
||||
* nullable=true
|
||||
* ),
|
||||
@ -272,4 +272,4 @@ class AnimeResource extends JsonResource
|
||||
'demographics' => $this->demographics,
|
||||
];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4682,10 +4682,10 @@
|
||||
"description": "Season",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Summer",
|
||||
"Winter",
|
||||
"Spring",
|
||||
"Fall"
|
||||
"summer",
|
||||
"winter",
|
||||
"spring",
|
||||
"fall"
|
||||
]
|
||||
},
|
||||
"year": {
|
||||
@ -4956,10 +4956,10 @@
|
||||
"description": "Season",
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Summer",
|
||||
"Winter",
|
||||
"Spring",
|
||||
"Fall"
|
||||
"summer",
|
||||
"winter",
|
||||
"spring",
|
||||
"fall"
|
||||
]
|
||||
},
|
||||
"year": {
|
||||
|
Loading…
x
Reference in New Issue
Block a user