mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-04-20 06:54:46 +00:00
allow deriving enums
This commit is contained in:
parent
0b11aaf1f9
commit
50ed2411c9
3 changed files with 73 additions and 12 deletions
|
@ -2,7 +2,7 @@
|
|||
pub mod openapi
|
||||
{
|
||||
pub use indexmap::IndexMap;
|
||||
pub use openapiv3::{ObjectType, ReferenceOr, Schema, SchemaData, SchemaKind, Type};
|
||||
pub use openapiv3::{ObjectType, ReferenceOr, Schema, SchemaData, SchemaKind, StringType, Type, VariantOrUnknownOrEmpty};
|
||||
}
|
||||
|
||||
#[cfg(not(feature = "openapi"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue