You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The generated swagger doc has the 'page' parameter missing from the ReadItemsParams.
I know that we can use limit and offset to paginate, but i'm using a mix of Orval and react query and a single page parameter is needed, I can resolve this with some work but i thought that page is worth of adding to the OAS.
Describe the Bug
The generated swagger doc has the 'page' parameter missing from the ReadItemsParams.
I know that we can use limit and offset to paginate, but i'm using a mix of Orval and react query and a single page parameter is needed, I can resolve this with some work but i thought that page is worth of adding to the OAS.
https://docs.directus.io/reference/system/server.html
https://docs.directus.io/reference/query.html#page
To Reproduce
Generate the OAS:
https://docs.directus.io/reference/system/server.html
/server/specs/oas
Copy the swagger json and paste it in swagger online:
https://editor.swagger.io/
Scroll down to Get posts and check the parameters:
page is missing,
fields, limit, meta, offset, sort, filter and search are available.
Directus Version
v10.10.4
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: