Skip to content

Commit

Permalink
Chore refactor features (#1008)
Browse files Browse the repository at this point in the history
Split features parsing to multiple modules and make pop features usage
consistent across the `utoipa-gen` crate.
  • Loading branch information
juhaku authored Aug 30, 2024
1 parent 4148199 commit 708645a
Show file tree
Hide file tree
Showing 12 changed files with 1,728 additions and 1,708 deletions.
5 changes: 3 additions & 2 deletions utoipa-gen/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,10 @@ use crate::schema_type::{SchemaFormat, SchemaTypeInner};
use crate::{as_tokens_or_diagnostics, AttributesExt, Diagnostics, OptionExt, ToTokensDiagnostics};
use crate::{schema_type::SchemaType, Deprecated};

use self::features::attributes::{Description, Nullable};
use self::features::validation::Minimum;
use self::features::{
pop_feature, Description, Feature, FeaturesExt, IntoInner, IsInline, Minimum, Nullable,
ToTokensExt, Validatable,
pop_feature, Feature, FeaturesExt, IntoInner, IsInline, ToTokensExt, Validatable,
};
use self::schema::format_path_ref;
use self::serde::{RenameRule, SerdeContainer, SerdeValue};
Expand Down
Loading

0 comments on commit 708645a

Please sign in to comment.