Implement JsonSchema on Either

This commit is contained in:
Graham Esau 2019-12-27 22:16:01 +00:00
parent fd42debc4d
commit fbd019baae
8 changed files with 58 additions and 4 deletions

View file

@ -209,5 +209,6 @@ fn main() {
## Feature Flags
- `chrono` - implements `JsonSchema` for all [Chrono](https://github.com/chronotope/chrono) types which are serializable by Serde.
- `indexmap` - implements `JsonSchema` on `IndexMap` and `IndexSet` from [indexmap](https://github.com/bluss/indexmap).
- `either` - implements `JsonSchema` on [`Either`](https://github.com/bluss/either).
- `impl_json_schema` - implements `JsonSchema` for Schemars types themselves