-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
openapi: Fixed bad offset and sortby parameters
- Loading branch information
1 parent
909db29
commit 1a9e608
Showing
2 changed files
with
27 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
offset: | ||
description: >- | ||
The optional offset parameter indicates the offset within the result | ||
set from which the server shall begin presenting results in the response | ||
document. The first element has an offset of 0 (default). | ||
explode: false | ||
in: query | ||
name: offset | ||
required: false | ||
schema: | ||
default: 0 | ||
minimum: 0 | ||
type: integer | ||
style: form | ||
description: >- | ||
The optional offset parameter indicates the offset within the result | ||
set from which the server shall begin presenting results in the response | ||
document. The first element has an offset of 0 (default). | ||
explode: false | ||
in: query | ||
name: offset | ||
required: false | ||
schema: | ||
default: 0 | ||
minimum: 0 | ||
type: integer | ||
style: form |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,14 @@ | ||
sortby: | ||
description: >- | ||
The optional sortby parameter indicates the sort property and order on | ||
which the server shall present results in the response document using | ||
the convention `sortby=PROPERTY:X`, where `PROPERTY` is the sort | ||
property and `X` is the sort order (`A` is ascending, `D` is | ||
descending). Sorting by multiple properties is supported by providing a | ||
comma-separated list. | ||
explode: false | ||
in: query | ||
name: sortby | ||
required: false | ||
schema: | ||
type: string | ||
style: form | ||
description: >- | ||
The optional sortby parameter indicates the sort property and order on | ||
which the server shall present results in the response document using | ||
the convention `sortby=PROPERTY:X`, where `PROPERTY` is the sort | ||
property and `X` is the sort order (`A` is ascending, `D` is | ||
descending). Sorting by multiple properties is supported by providing a | ||
comma-separated list. | ||
explode: false | ||
in: query | ||
name: sortby | ||
required: false | ||
schema: | ||
type: string | ||
style: form |