Error on unknown schemars attr items

This commit is contained in:
Graham Esau 2020-06-04 19:39:57 +01:00
parent a829267111
commit b0a2f9994b
3 changed files with 27 additions and 24 deletions

View file

@ -9,6 +9,9 @@
- `SchemaSettings::bool_schemas` - this has been superseded by the `ReplaceBoolSchemas` visitor
- `SchemaSettings::allow_ref_siblings` - this has been superseded by the `RemoveRefSiblings` visitor
### Fixed:
- **BREAKING CHANGE** unknown items in `#[schemars(...)]` attributes now cause a compilation error (https://github.com/GREsau/schemars/issues/18)
### Deprecated:
- `make_extensible`, `schema_for_any`, and `schema_for_none` methods on `SchemaGenerator`