refact: openapi splitted into separate files
This commit is contained in:
parent
9ed09500ed
commit
2025bb451f
22 changed files with 443 additions and 435 deletions
4
api/parameters/_index.yaml
Normal file
4
api/parameters/_index.yaml
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
cursor:
|
||||
$ref: "./cursor.yaml"
|
||||
title_sort:
|
||||
$ref: "./title_sort.yaml"
|
||||
5
api/parameters/cursor.yaml
Normal file
5
api/parameters/cursor.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
in: query
|
||||
name: cursor
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
5
api/parameters/title_sort.yaml
Normal file
5
api/parameters/title_sort.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
in: query
|
||||
name: sort
|
||||
required: false
|
||||
schema:
|
||||
$ref: '../schemas/TitleSort.yaml'
|
||||
Loading…
Add table
Add a link
Reference in a new issue