pub struct OpenApi {
pub extension: OpenApiExtensionEnum,
pub is_config_valid: bool,
pub is_valid: bool,
pub openapi: String,
pub validations: Vec<Validation>,
}Expand description
OpenApi
Fields§
§extension: OpenApiExtensionEnum§is_config_valid: boolDeprecated with July 1st sunset date. Are the various the Sideko configuration (x-fields) valid
is_valid: boolIs the OpenAPI spec a valid 3.x spec
openapi: StringOpenAPI content as a string in JSON format
validations: Vec<Validation>Deprecated with July 1st sunset date. Validations are now returned via the linting routes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OpenApi
impl<'de> Deserialize<'de> for OpenApi
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for OpenApi
impl RefUnwindSafe for OpenApi
impl Send for OpenApi
impl Sync for OpenApi
impl Unpin for OpenApi
impl UnsafeUnpin for OpenApi
impl UnwindSafe for OpenApi
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