pub trait CapturedRequest {
fn get_url(&self) -> &str;
fn get_method(&self) -> &str;
fn get_request_headers(&self) -> &[(String, String)];
fn get_request_body(&self) -> Option<&[u8]>;
fn get_response_status_code(&self) -> Option<u16>;
fn get_response_reason(&self) -> Option<&str>;
fn get_response_headers(&self) -> Option<&[(String, String)]>;
fn get_response_body(&self) -> Option<&[u8]>;
fn get_response_content_type(&self) -> Option<&str>;
}
#[derive(Debug, Clone)]
pub struct Config {
pub prefix: String,
pub openapi_title: Option<String>,
pub openapi_version: String,
pub exclude_headers: Vec<String>,
pub exclude_cookies: Vec<String>,
pub include_headers: bool,
pub ignore_images: bool,
pub suppress_params: bool,
pub tags_overrides: Option<String>,
}