mirror of
https://github.com/notherealmarco/WASAPhoto.git
synced 2025-03-14 06:06:15 +01:00
Moved start_index & limit to schema
This commit is contained in:
parent
a5c2bb155c
commit
c0d7a7a1ee
1 changed files with 16 additions and 16 deletions
32
doc/api.yaml
32
doc/api.yaml
|
@ -327,15 +327,13 @@ paths:
|
||||||
- name: limit
|
- name: limit
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/limit"
|
||||||
default: 25
|
|
||||||
description: The number of elements to show.
|
description: The number of elements to show.
|
||||||
required: false
|
required: false
|
||||||
- name: start_index
|
- name: start_index
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/start_index"
|
||||||
default: 0
|
|
||||||
description: The starting offset.
|
description: The starting offset.
|
||||||
required: false
|
required: false
|
||||||
responses:
|
responses:
|
||||||
|
@ -498,15 +496,13 @@ paths:
|
||||||
- name: limit
|
- name: limit
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/limit"
|
||||||
default: 25
|
|
||||||
description: The number of elements to show.
|
description: The number of elements to show.
|
||||||
required: false
|
required: false
|
||||||
- name: start_index
|
- name: start_index
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/start_index"
|
||||||
default: 0
|
|
||||||
description: The starting offset.
|
description: The starting offset.
|
||||||
required: false
|
required: false
|
||||||
responses:
|
responses:
|
||||||
|
@ -654,15 +650,13 @@ paths:
|
||||||
- name: limit
|
- name: limit
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/limit"
|
||||||
default: 25
|
|
||||||
description: The number of elements to show.
|
description: The number of elements to show.
|
||||||
required: false
|
required: false
|
||||||
- name: start_index
|
- name: start_index
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/start_index"
|
||||||
default: 0
|
|
||||||
description: The starting offset.
|
description: The starting offset.
|
||||||
required: false
|
required: false
|
||||||
security:
|
security:
|
||||||
|
@ -779,15 +773,13 @@ paths:
|
||||||
- name: limit
|
- name: limit
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/limit"
|
||||||
default: 25
|
|
||||||
description: The number of elements to show.
|
description: The number of elements to show.
|
||||||
required: false
|
required: false
|
||||||
- name: start_index
|
- name: start_index
|
||||||
in: query
|
in: query
|
||||||
schema:
|
schema:
|
||||||
type: integer
|
$ref: "#/components/schemas/start_index"
|
||||||
default: 0
|
|
||||||
description: The starting offset.
|
description: The starting offset.
|
||||||
required: false
|
required: false
|
||||||
responses:
|
responses:
|
||||||
|
@ -813,6 +805,14 @@ components:
|
||||||
scheme: bearer
|
scheme: bearer
|
||||||
|
|
||||||
schemas:
|
schemas:
|
||||||
|
start_index:
|
||||||
|
type: integer
|
||||||
|
description: The starting offset.
|
||||||
|
default: 0
|
||||||
|
limit:
|
||||||
|
type: integer
|
||||||
|
description: The number of elements to show.
|
||||||
|
default: 15
|
||||||
uid_name:
|
uid_name:
|
||||||
type: object
|
type: object
|
||||||
properties:
|
properties:
|
||||||
|
|
Loading…
Reference in a new issue