feat(frontend/api): cast included with movie request and cast list on detail page

This commit is contained in:
sct
2020-09-17 06:35:25 +00:00
parent 6398e3645a
commit 04252f88bb
8 changed files with 235 additions and 11 deletions

View File

@@ -419,6 +419,17 @@ components:
type: number
voteCount:
type: number
credits:
type: object
properties:
cast:
type: array
items:
$ref: '#/components/schemas/Cast'
crew:
type: array
items:
$ref: '#/components/schemas/Crew'
request:
$ref: '#/components/schemas/MediaRequest'
Episode:
@@ -590,6 +601,48 @@ components:
- mediaId
- mediaType
- status
Cast:
type: object
properties:
id:
type: number
example: 123
castId:
type: number
example: 1
character:
type: string
example: Some Character Name
creditId:
type: string
gender:
type: number
name:
type: string
example: Some Persons Name
order:
type: number
profilePath:
type: string
Crew:
type: object
properties:
id:
type: number
example: 123
creditId:
type: string
gender:
type: number
name:
type: string
example: Some Persons Name
job:
type: string
department:
type: string
profilePath:
type: string
securitySchemes:
cookieAuth: