Merge branch 'fix/openapi-limit' into 'develop'
OpenAPI: Remove max pagination limit from the spec See merge request pleroma/pleroma!2457
This commit is contained in:
commit
4c0af1cb66
@ -41,8 +41,8 @@ defmodule Pleroma.Web.ApiSpec.Helpers 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 New Issue
Block a user