API-235: document global --limit/--page pagination flags in nansen schema - #500
No issues found
Review Status
✅ Passed
Review effort: 1/5 (Trivial)
Details
This PR adds limit and page to globalOptions in src/schema.json, making global pagination flags discoverable via nansen schema. No runtime code is touched.
The descriptions are accurate: the endpoint-type split (general default 10/max 1000 vs. profiler default 20/max 100), the carve-outs for commands with their own limit semantics (search, token top-tokens, trade limit-order list), and the non-supporting endpoints (token ohlcv, profiler perp-positions, historical-token-flow-summary) all match the implementation in src/cli.js and src/commands/research.js. The limit entry correctly omits a default (since API-side defaults differ by endpoint) and page correctly carries default: 1 consistent with buildPagination. The changeset names the right package and uses an appropriate patch bump. No findings.
Note: Claude suggested: APPROVE. Final status determined by severity thresholds.