Allow schema_with attr on enum variants

This commit is contained in:
Graham Esau 2021-04-10 15:16:16 +01:00
parent 2d38db903a
commit 5dc644000c
9 changed files with 93 additions and 27 deletions

View file

@ -1,5 +1,9 @@
# Changelog
## [0.8.4] - **In-dev**
### Added:
- `#[schemars(schema_with = "...")]` attribute can now be set on enum variants.
## [0.8.3] - 2021-04-05
### Added:
- Support for `#[schemars(crate = "...")]` attribute to allow deriving JsonSchema when the schemars crate is aliased to a different name (https://github.com/GREsau/schemars/pull/55 / https://github.com/GREsau/schemars/pull/80)