Skip to content

Commit

Permalink
fix: ensure openapi default parameter is nested under schema
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredhendrickson13 committed May 21, 2024
1 parent 7d0038c commit aae9958
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -418,15 +418,13 @@ function generate_documentation(): bool {
'in' => 'query',
'name' => 'limit',
'description' => 'The number of objects to obtain at once. Set to 0 for no limit.',
'default' => 0,
'schema' => ['type' => 'integer'],
'schema' => ['type' => 'integer', 'default' => 0,],
],
[
'in' => 'query',
'name' => 'offset',
'description' => 'The starting point in the dataset to begin fetching objects.',
'default' => 0,
'schema' => ['type' => 'integer'],
'schema' => ['type' => 'integer', 'default' => 0,],
],
];
}
Expand Down

0 comments on commit aae9958

Please sign in to comment.