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 {
/// intent: "charge".into(),
/// amount: "30000".into(),
/// decimals: Some(6),
/// currency: None,
/// unit_type: None,
/// description: Some("Message".into()),
/// }))
/// });
///
/// assert_eq!(svc.id, "anthropic");
/// assert_eq!(svc.headers.get("x-api-key").unwrap(), "sk-ant-...");
/// ```