feat: now status can be array

This commit is contained in:
Iron_Felix 2025-11-22 05:14:42 +03:00
parent 73547187be
commit 870bbe2395
3 changed files with 9 additions and 1 deletions

View file

@ -15,7 +15,13 @@ get:
- in: query
name: status
schema:
type: array
items:
$ref: '../schemas/enums/TitleStatus.yaml'
description: List of title statuses to filter
style: form
explode: true
- in: query
name: rating
schema:

View file

@ -1,6 +1,7 @@
type: object
properties:
id:
# id выпиливаем
id:
type: integer
format: int64
storage_type:

View file

@ -3,6 +3,7 @@ required:
- id
- name
properties:
# id не нужен
id:
type: integer
format: int64