Expand description
REST API layer for ggen monetization
This crate provides HTTP endpoints for:
- Marketplace operations (search, install, purchase)
- User authentication (OAuth, JWT, API keys)
- Billing and usage tracking
- SaaS tier management and quota enforcement
Re-exports§
pub use routes::create_router;pub use state::AppState;pub use error::ApiError;
Modules§
- error
- API error types and handling
- handlers
- HTTP request handlers
- middleware
- HTTP middleware
- models
- API request and response models
- routes
- API route definitions
- state
- Shared application state
Functions§
- init_
api - Initialize the API router with all handlers