feat: new schema for images
This commit is contained in:
parent
e18f4a44c3
commit
d1180a426f
2 changed files with 28 additions and 11 deletions
|
|
@ -565,6 +565,17 @@ paths:
|
|||
|
||||
components:
|
||||
schemas:
|
||||
Image:
|
||||
type: object
|
||||
properties:
|
||||
id:
|
||||
type: integer
|
||||
format: int64
|
||||
storage_type:
|
||||
type: string
|
||||
image_path:
|
||||
type: string
|
||||
|
||||
TitleStatus:
|
||||
type: string
|
||||
description: Title status
|
||||
|
|
@ -665,9 +676,8 @@ components:
|
|||
$ref: '#/components/schemas/Studio'
|
||||
tags:
|
||||
$ref: '#/components/schemas/Tags'
|
||||
poster_id:
|
||||
type: integer
|
||||
format: int64
|
||||
poster:
|
||||
$ref: '#/components/schemas/Image'
|
||||
title_status:
|
||||
$ref: '#/components/schemas/TitleStatus'
|
||||
rating:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue