sideko_rest_api 0.9.2

Rust API Client
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/// NewApiSpec
#[derive(serde::Serialize, serde::Deserialize, Debug, Default, Clone)]
pub struct NewApiSpec {
    /// 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)
    #[serde(skip_serializing_if = "Option::is_none")]
    pub version: Option<crate::models::VersionOrBump>,
}