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 - in: query
name: status name: status
schema: schema:
type: array
items:
$ref: '../schemas/enums/TitleStatus.yaml' $ref: '../schemas/enums/TitleStatus.yaml'
description: List of title statuses to filter
style: form
explode: true
- in: query - in: query
name: rating name: rating
schema: schema:

View file

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

View file

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