1
0
Fork 0

fix warnings

This commit is contained in:
Cyborus 2024-02-09 22:50:50 -05:00
parent ed27e3d714
commit 07806529f9
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -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)),
..

View file

@ -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;