diff --git a/CHANGELOG.md b/CHANGELOG.md index c23d7d9..ca3c4e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## [0.6.0] - TBD +### Added: +- When deriving `JsonSchema`, the schema's `title` and `description` are now set from `#[doc]` comments (https://github.com/GREsau/schemars/issues/7) + ## [0.5.1] - 2019-10-30 ### Fixed: - Added missing doc comment for "title" schema property diff --git a/schemars/Cargo.toml b/schemars/Cargo.toml index 5c75377..a15ca10 100644 --- a/schemars/Cargo.toml +++ b/schemars/Cargo.toml @@ -2,7 +2,7 @@ name = "schemars" description = "Generate JSON Schemas from Rust code" repository = "https://github.com/GREsau/schemars" -version = "0.5.1" +version = "0.6.0-doc" authors = ["Graham Esau "] edition = "2018" license = "MIT" @@ -12,7 +12,7 @@ categories = ["encoding"] build = "build.rs" [dependencies] -schemars_derive = { version = "0.5.0", path = "../schemars_derive" } +schemars_derive = { version = "0.6.0-doc", path = "../schemars_derive" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" chrono = { version = "0.4", default-features = false, optional = true } diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index 14e76ad..61f94c6 100644 --- a/schemars_derive/Cargo.toml +++ b/schemars_derive/Cargo.toml @@ -2,7 +2,7 @@ name = "schemars_derive" description = "Macros for #[derive(JsonSchema)], for use with schemars" repository = "https://github.com/GREsau/schemars" -version = "0.5.0" +version = "0.6.0-doc" authors = ["Graham Esau "] edition = "2018" license = "MIT"