docs: add missing OpenAPI spec for historySince, ADL rankings, and chart#155
docs: add missing OpenAPI spec for historySince, ADL rankings, and chart#1550x-SquidSol wants to merge 1 commit intodcccrypto:mainfrom
Conversation
…, and chart
Three fully implemented endpoints were absent from openapi.yaml:
- GET /funding/{slab}/historySince — funding history with required `since` param
- GET /api/adl/rankings — ADL trigger state and ranked profitable positions
- GET /chart/{mint} — OHLCV candlestick data via GeckoTerminal
Adds path entries with accurate parameters, response schemas, status codes,
and custom headers (X-Cache for ADL). Also adds corresponding component
schemas: AdlRankingsResponse, AdlRankedPosition, ChartResponse, OhlcvCandle.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 6 minutes and 57 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Summary
openapi.yaml. An external auditor comparing spec to implementation would flag these immediately.Endpoints added
GET /funding/{slab}/historySincesincetimestampFundingHistoryEntryGET /api/adl/rankingsAdlRankingsResponse,AdlRankedPositionGET /chart/{mint}ChartResponse,OhlcvCandleDetails
X-Cacheheader and504timeout responseaggregatedefaults in descriptionADLandCharttags to the tags sectionTest plan
vitest runpasses (186/186 tests)🤖 Generated with Claude Code