Struct k8s_openapi_codegen_common::swagger20::Spec
source · pub struct Spec {
pub info: Info,
pub definitions: BTreeMap<DefinitionPath, Schema>,
pub operations: Vec<Operation>,
}
Expand description
The whole Spec
object. An OpenAPI spec JSON file can be deserialized into this type.
Fields§
§info: Info
§definitions: BTreeMap<DefinitionPath, Schema>
§operations: Vec<Operation>