Check for #[deprecated] attributes
This commit is contained in:
parent
bb8c93ddc1
commit
509a1c3b7b
7 changed files with 124 additions and 7 deletions
|
@ -1,4 +1,8 @@
|
|||
# Changelog
|
||||
## In-dev - version TBC
|
||||
### Added:
|
||||
- Setting `#[deprecated]` attribute will now cause generated schemas to have the `deprecated` property set to `true`
|
||||
|
||||
## [0.7.4] - 2020-05-16
|
||||
### Added:
|
||||
- If a struct is annotated with `#[serde(deny_unknown_fields)]`, generated schema will have `additionalProperties` set to `false` (https://github.com/GREsau/schemars/pull/30)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue