OpenAPI spec lists pagination parameters not actually supported #813
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#813
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
Alpine 3.20
Version
5992e8bb16
PostgreSQL version
16
What’s the problem?
Followup to #794, putting this here so it isn’t forgotten about
Currently
pagiantion_params()
from api spec helpers is shared across almost all endpoints with some kind of pagination. However, not all of those actually support, e.g.offset
, but due to the API spec listing it it will show up as an supported parameter in e.g. swagger UI confusing users.We should break up
pagination_params
into more fine grained subsets and only include actually supported parameters.Current users of
pagination_params()
The following define custom
pagiantion_params()
in their API spec file:Severity
I can manage
Have you searched for this issue?