sideko_rest_api 0.9.2

Rust API Client
Documentation
/// UpdateApiSpec
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct UpdateApiSpec {
    /// Allow API spec to be updated with a new OpenAPI spec even if it has linting errors
    #[serde(skip_serializing_if = "Option::is_none")]
    pub allow_lint_errors: Option<bool>,
    /// Enable a public mock server requests for this API Specification
    #[serde(skip_serializing_if = "Option::is_none")]
    pub mock_server_enabled: Option<bool>,
    /// Text field to add any notes (comments, changelog, etc.) relevant to the version in html format
    #[serde(skip_serializing_if = "Option::is_none")]
    pub notes: Option<String>,
    /// An OpenAPI specification in YAML or JSON
    #[serde(skip_serializing_if = "Option::is_none")]
    pub openapi: Option<crate::UploadFile>,
    /// Semantic Version of the API
    #[serde(skip_serializing_if = "Option::is_none")]
    pub version: Option<String>,
}