Commit Graph

3 Commits

Author SHA1 Message Date
Bhavik Patel 3ef4c5a83a
feat: expand OpenAPI spec coverage and docs metadata
- Add 11 missing API routes to openapi.json (70 total paths now)
  - /api/docs, /api/mentions, /api/projects, /api/projects/{id},
    /api/projects/{id}/tasks, /api/quality-review, /api/claude/sessions,
    /api/github, /api/releases/check, /api/webhooks/retry,
    /api/webhooks/verify-docs
- Add 5 new tags: Projects, Mentions, Quality, Releases, Docs
- Add Project schema to components
- Bump spec version to 1.3.0
- Sort all paths alphabetically for consistency
- Interactive Scalar docs page already at /docs (unchanged)

Fixes #158
2026-03-05 10:58:51 +07:00
Nyk f7aa1db27e feat: add direct CLI integration for gateway-free tool connections
- Add migration 016 for direct_connections table
- Add POST/GET/DELETE /api/connect for CLI tool registration
- Enhance heartbeat POST to accept connection_id and inline token_usage
- Add connectSchema to validation
- Add connection.created/disconnected event types to event bus
- Show direct CLI connections in gateway manager panel
- Add 5 E2E tests for connection lifecycle
- Add CLI integration documentation (docs/cli-integration.md)
- Fix openapi.json brace mismatch on line 642 (Phase 2 bug)
- Add /api/connect endpoints to OpenAPI spec
2026-03-02 11:45:12 +07:00
Nyk 4c7b3257d6 feat: add OpenAPI 3.1 documentation with Scalar UI
- Add openapi.json spec covering all 59 API routes (~95 operations)
- Serve spec at GET /api/docs (no auth required, cached)
- Add interactive Scalar API reference UI at /docs
- Allow unauthenticated access to /api/docs and /docs in middleware
- Add @scalar/api-reference-react dependency
- Add 3 E2E tests for spec validation and auth bypass
2026-03-02 11:03:16 +07:00