forked from AkkomaGang/akkoma
OpenAPI: Remove max pagination limit from the spec
In an ideal world clients wouldn't try to request more than the max hardcoded limit, but SubwayTooter does.
This commit is contained in:
parent
ed8282c091
commit
85105f7aae
1 changed files with 2 additions and 2 deletions
|
@ -41,8 +41,8 @@ def pagination_params do
|
||||||
Operation.parameter(
|
Operation.parameter(
|
||||||
:limit,
|
:limit,
|
||||||
:query,
|
:query,
|
||||||
%Schema{type: :integer, default: 20, maximum: 40},
|
%Schema{type: :integer, default: 20},
|
||||||
"Limit"
|
"Maximum number of items to return. Will be ignored if it's more than 40"
|
||||||
)
|
)
|
||||||
]
|
]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue