Fix schema generation for complex enum variants

This commit is contained in:
Graham Esau 2019-08-08 22:45:21 +01:00
parent 94250fa037
commit 936fb8c96e
3 changed files with 12 additions and 8 deletions

View file

@ -2,14 +2,14 @@
name = "schemars"
description = "Generate JSON Schemas from Rust code"
repository = "https://github.com/GREsau/schemars"
version = "0.1.1"
version = "0.1.2"
authors = ["Graham Esau <gesau@hotmail.co.uk>"]
edition = "2018"
license = "MIT"
keywords = ["rust", "json-schema", "serde"]
[dependencies]
schemars_derive = { version = "0.1.0", path = "../schemars_derive" }
schemars_derive = { version = "0.1.2", path = "../schemars_derive" }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"