Fix mismatch between request and response in list indexes example#6315
Fix mismatch between request and response in list indexes example#63150RBalaji wants to merge 1 commit intomeilisearch:mainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR updates the OpenAPI/example response for the List indexes endpoint to resolve a mismatch between the documented request pagination (limit: 3) and the documented response ("limit": 1).
Changes:
- Updated the list indexes 200-response example to return
"limit": 3to match the intended request pagination.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
There was a problem hiding this comment.
The response example now shows "limit": 3, but the limit query parameter is still annotated with example = 1 in ListIndexes (used by OpenAPI/doc generation). This can keep request/response samples inconsistent in generated docs—consider updating the query param example to 3 (or aligning both to the same value).
| "limit": 3, | |
| "limit": 1, |
|
Hey @0RBalaji 👋 I think you forgot that the JSON |
65eb1b0 to
2fbd32d
Compare

Related issue
Fixes #...
Generative AI tools
Requirements
--experimental-dumpless-upgradeon a DB created with the last released Meilisearchdb changelabel.Closes #6293
This PR fixes an inconsistency in the list indexes API example where the request uses
limit: 3but the response example shows"limit": 1.The response example has been updated to
"limit": 3so that it correctly reflects the request and pagination behavior.