use crate;
/// Create an Anthropic service configuration.
///
/// Injects the `x-api-key` header for upstream authentication.
///
/// # Example
///
/// ```
/// use mpp::proxy::service::{Endpoint, PaidEndpoint, ServiceBuilder};
/// use mpp::proxy::services::anthropic;
///
/// let svc = anthropic::service("sk-ant-...", |r| {
/// r.route(
/// "POST /v1/messages",
/// Endpoint::Paid(
/// PaidEndpoint::new("tempo", "charge", "30000")
/// .with_decimals(6)
/// .with_description("Message"),
/// ),
/// )
/// });
///
/// assert_eq!(svc.id, "anthropic");
/// assert_eq!(svc.headers, [("x-api-key".to_string(), "sk-ant-...".to_string())]);
/// ```