use axum::{
routing::{get, post},
Router,
};
use super::handlers;
pub fn create_routes() -> Router {
Router::new()
.route("/health", get(handlers::health_check))
.route("/ready", get(handlers::readiness_check))
.route("/api/v1/usage", post(handlers::submit_usage))
.route("/api/v1/usage/history", get(handlers::get_usage_history))
.route("/api/v1/costs", get(handlers::get_costs))
.route("/api/v1/pricing", get(handlers::list_pricing))
.route("/api/v1/pricing", post(handlers::create_pricing))
.route("/api/v1/analytics", get(handlers::get_analytics))
}