Improve schema naming for deriving on remote types
This commit is contained in:
parent
ea28450c30
commit
781f40b061
8 changed files with 36 additions and 23 deletions
|
@ -20,6 +20,7 @@ static SERDE_KEYWORDS: &[&str] = &[
|
|||
"skip_serializing_if",
|
||||
"skip_deserializing",
|
||||
"flatten",
|
||||
"remote",
|
||||
// Special cases - `with`/`serialize_with` are passed to serde but not copied from schemars attrs to serde attrs.
|
||||
// This is because we want to preserve any serde attribute's `serialize_with` value to determine whether the field's
|
||||
// default value should be serialized. We also check the `with` value on schemars/serde attrs e.g. to support deriving
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue