diff options
Diffstat (limited to 'generator')
-rw-r--r-- | generator/src/main.rs | 2 | ||||
-rw-r--r-- | generator/src/methods.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/generator/src/main.rs b/generator/src/main.rs index 6ca4b45..3c384c3 100644 --- a/generator/src/main.rs +++ b/generator/src/main.rs @@ -238,7 +238,7 @@ fn schema_subtypes( schema: &Schema, subtypes: &mut Vec<String>, ) -> eyre::Result<()> { - let b = match schema { + match schema { Schema { _type: Some(SchemaType::One(Primitive::Object)), .. diff --git a/generator/src/methods.rs b/generator/src/methods.rs index 025f159..70ebe99 100644 --- a/generator/src/methods.rs +++ b/generator/src/methods.rs @@ -1,5 +1,5 @@ use crate::{openapi::*, schema_ref_type_name}; -use eyre::{OptionExt, WrapErr}; +use eyre::WrapErr; use heck::{ToPascalCase, ToSnakeCase}; use std::fmt::Write; |