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
|
- 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:
|
||||||
|
|
|
||||||
|
|
@ -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:
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ required:
|
||||||
- id
|
- id
|
||||||
- name
|
- name
|
||||||
properties:
|
properties:
|
||||||
|
# id не нужен
|
||||||
id:
|
id:
|
||||||
type: integer
|
type: integer
|
||||||
format: int64
|
format: int64
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue