character: add name_kanji

This commit is contained in:
Irfan 2022-02-18 20:23:08 +05:00
parent 0f1b3ea88f
commit 9a624b38be
2 changed files with 10 additions and 5 deletions

View File

@ -25,13 +25,17 @@ class CharacterResource extends JsonResource
* property="images",
* ref="#/components/schemas/character_images"
* ),
*
* @OA\Property(
* property="name",
* type="string",
* description="Name"
* ),
* @OA\Property(
* property="name_kanji",
* type="string",
* description="Name"
* ),
* @OA\Property(
* property="nicknames",
* type="array",
* description="Other Names",
@ -125,6 +129,7 @@ class CharacterResource extends JsonResource
'url' => $this->url,
'images' => $this->images,
'name' => $this->name,
'name_kanji' => $this->name_kanji,
'nicknames' => $this->nicknames,
'favorites' => $this->favorites,
'about' => $this->about

8
composer.lock generated
View File

@ -2932,12 +2932,12 @@
"source": {
"type": "git",
"url": "https://github.com/jikan-me/jikan.git",
"reference": "dd44cd122a289fd18f7223d3632c821e3d0bbd2e"
"reference": "b619665b0dc73908b794d5c464055a4c786c7b34"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/jikan-me/jikan/zipball/dd44cd122a289fd18f7223d3632c821e3d0bbd2e",
"reference": "dd44cd122a289fd18f7223d3632c821e3d0bbd2e",
"url": "https://api.github.com/repos/jikan-me/jikan/zipball/b619665b0dc73908b794d5c464055a4c786c7b34",
"reference": "b619665b0dc73908b794d5c464055a4c786c7b34",
"shasum": ""
},
"require": {
@ -2986,7 +2986,7 @@
"type": "patreon"
}
],
"time": "2022-02-18T01:25:01+00:00"
"time": "2022-02-18T15:21:25+00:00"
},
{
"name": "jms/metadata",