feat: new schema for images

This commit is contained in:
Iron_Felix 2025-11-16 02:14:38 +03:00
parent e18f4a44c3
commit d1180a426f
2 changed files with 28 additions and 11 deletions

View file

@ -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: