-
Couldn't load subscription status.
- Fork 13
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Align SDK with OpenAPI Spec - Add SmartCrawler Endpoint
📋 Summary
The current SDKs have discrepancies with the official OpenAPI specification. The main issues are:
- Endpoint Naming Mismatch: The SDK's
crawl()method actually calls the/crawlendpoint, but the OpenAPI spec defines two separate endpoints:/smartcrawlerand/crawlwith different parameters
🔍 Current State Analysis
SDK vs OpenAPI Comparison
| Feature | OpenAPI Spec | Current SDK Implementation | Status |
|---|---|---|---|
SmartCrawler endpoint (/smartcrawler) |
✅ Defined with url, prompt, schema, depth, max_pages, sitemap, render_heavy_js |
❌ Not implemented | Missing |
Crawl endpoint (/crawl) |
✅ Defined with url, prompt, schema, depth, max_pages, sitemap, render_heavy_js, rules |
✅ Implemented as crawl() |
Exists |
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request