pub struct OpenApiValidator;Expand description
Enhanced OpenAPI validator with support for 2.0 and 3.x
Implementations§
Source§impl OpenApiValidator
impl OpenApiValidator
Sourcepub fn validate(spec: &Value, format: SpecFormat) -> ValidationResult
pub fn validate(spec: &Value, format: SpecFormat) -> ValidationResult
Validate an OpenAPI specification (2.0 or 3.x)
Auto Trait Implementations§
impl Freeze for OpenApiValidator
impl RefUnwindSafe for OpenApiValidator
impl Send for OpenApiValidator
impl Sync for OpenApiValidator
impl Unpin for OpenApiValidator
impl UnwindSafe for OpenApiValidator
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