//! 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
pub use create_router;
pub use AppState;
pub use ApiError;
use Router;
use Arc;
use CorsLayer;
use TraceLayer;
/// Initialize the API router with all handlers
pub async