/// NewApiWithVersion
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct NewApiWithVersion {
    pub name: String,
    /// Allow API spec to be created 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
    pub openapi: crate::UploadFile,
    /// Semantic version (0.1.0) or a release type (major, minor, patch, rc)
    pub version: crate::models::VersionOrBump,
}
