feat: now status can be array
This commit is contained in:
parent
73547187be
commit
870bbe2395
3 changed files with 9 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
type: object
|
||||
properties:
|
||||
# id выпиливаем
|
||||
id:
|
||||
type: integer
|
||||
format: int64
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ required:
|
|||
- id
|
||||
- name
|
||||
properties:
|
||||
# id не нужен
|
||||
id:
|
||||
type: integer
|
||||
format: int64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue