Update docs and changelog

This commit is contained in:
Graham Esau 2020-05-16 12:21:09 +01:00
parent bfb3f06253
commit e7cae04beb
12 changed files with 25 additions and 6 deletions

View file

@ -124,6 +124,15 @@ If the given type has any required generic type parameters, then they must all b
Serde docs: [variant](https://serde.rs/variant-attrs.html#with) / [field](https://serde.rs/field-attrs.html#with)
<h3 id="deny_unknown_fields">
`#[serde(deny_unknown_fields)]` / `#[schemars(deny_unknown_fields)]`
</h3>
Setting this on a container will set the `additionalProperties` keyword on generated schemas to `false` to show that any extra properties are explicitly disallowed.
Serde docs: [container](https://serde.rs/container-attrs.html#deny_unknown_fields)
</div>
## Other Attributes