1
0
Fork 0
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:
Dominic 2019-10-03 00:04:33 +02:00
parent 0b11aaf1f9
commit 50ed2411c9
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
3 changed files with 73 additions and 12 deletions

View file

@ -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"))]