pub struct CloudConformanceInputs {Show 15 fields
pub spec_bytes: Option<Vec<u8>>,
pub spec_format: SpecFormat,
pub target_url: String,
pub base_path: Option<String>,
pub api_key: Option<String>,
pub basic_auth: Option<String>,
pub categories: Option<String>,
pub headers: Vec<String>,
pub all_operations: bool,
pub request_delay_ms: u64,
pub use_k6: bool,
pub skip_tls_verify: bool,
pub report_format: String,
pub export_requests: bool,
pub validate_requests: bool,
}Expand description
Inputs for run_conformance — OpenAPI 3.0.0 conformance testing against
an external URL.
Setting spec_bytes enables spec-driven mode (preferred). Leaving it None
falls through to the reference-check mode that the underlying executor
supports.
Fields§
§spec_bytes: Option<Vec<u8>>§spec_format: SpecFormat§target_url: String§base_path: Option<String>§api_key: Option<String>§basic_auth: Option<String>user:pass for HTTP basic auth.
categories: Option<String>Comma-separated category list (e.g. "parameters,security").
headers: Vec<String>Header-Name: value strings, one per entry.
all_operations: bool§request_delay_ms: u64§use_k6: boolWhen true, route conformance through k6 instead of the native Rust executor. Native is faster and the default.
skip_tls_verify: bool§report_format: String"json" (default) or "sarif".
export_requests: bool§validate_requests: boolTrait Implementations§
Source§impl Clone for CloudConformanceInputs
impl Clone for CloudConformanceInputs
Source§fn clone(&self) -> CloudConformanceInputs
fn clone(&self) -> CloudConformanceInputs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CloudConformanceInputs
impl Debug for CloudConformanceInputs
Auto Trait Implementations§
impl Freeze for CloudConformanceInputs
impl RefUnwindSafe for CloudConformanceInputs
impl Send for CloudConformanceInputs
impl Sync for CloudConformanceInputs
impl Unpin for CloudConformanceInputs
impl UnsafeUnpin for CloudConformanceInputs
impl UnwindSafe for CloudConformanceInputs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more