Skip to content

Commit ddcb6d5

Browse files
authored
[create-pull-request] automated change (bangumi#126)
Co-authored-by: Trim21-bot <[email protected]>
1 parent 6842de4 commit ddcb6d5

File tree

1 file changed

+34
-4
lines changed

1 file changed

+34
-4
lines changed

open-api/v0.yaml

Lines changed: 34 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -760,7 +760,7 @@ paths:
760760
content:
761761
application/json:
762762
schema:
763-
"$ref": "#/components/schemas/DetailedRevision"
763+
"$ref": "#/components/schemas/CharacterRevision"
764764
"404":
765765
description: Not Found
766766
content:
@@ -1311,7 +1311,7 @@ components:
13111311
profession:
13121312
"$ref": "#/components/schemas/PersonRevisionProfession"
13131313
extra:
1314-
"$ref": "#/components/schemas/PersonRevisionExtra"
1314+
"$ref": "#/components/schemas/RevisionExtra"
13151315
prsn_name:
13161316
title: Person Name
13171317
type: string
@@ -1340,8 +1340,8 @@ components:
13401340
actor:
13411341
title: Actor
13421342
type: string
1343-
PersonRevisionExtra:
1344-
title: PersonRevisionExtra
1343+
RevisionExtra:
1344+
title: RevisionExtra
13451345
type: object
13461346
properties:
13471347
img:
@@ -1400,6 +1400,36 @@ components:
14001400
vote_field:
14011401
title: Vote Field
14021402
type: string
1403+
CharacterRevision:
1404+
title: CharacterRevision
1405+
allOf:
1406+
- "$ref": "#/components/schemas/Revision"
1407+
- type: object
1408+
properties:
1409+
data:
1410+
title: Data
1411+
additionalProperties:
1412+
"$ref": "#/components/schemas/CharacterRevisionDataItem"
1413+
CharacterRevisionDataItem:
1414+
title: CharacterRevisionDataItem
1415+
required:
1416+
- infobox
1417+
- summary
1418+
- name
1419+
- extra
1420+
type: object
1421+
properties:
1422+
infobox:
1423+
title: Character Infobox
1424+
type: string
1425+
summary:
1426+
title: Character Summary
1427+
type: string
1428+
name:
1429+
title: Character Name
1430+
type: string
1431+
extra:
1432+
"$ref": "#/components/schemas/RevisionExtra"
14031433
EpType:
14041434
title: EpType
14051435
enum:

0 commit comments

Comments
 (0)