2b3c356ece
Object schemas can now declare a field which causes 'additional_properties' to be set to true and the field being ignored in the schema. This allows adding a flattened HashMap<String, Value> to gather the additional unspecified properties. #[api(additional_properties: "rest")] struct Something { #[serde(flatten)] rest: HashMap<String, Value>, } Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com> |
||
---|---|---|
.. | ||
allof.rs | ||
api1.rs | ||
api2.rs | ||
ext-schema.rs | ||
int-limits.rs | ||
options.rs | ||
section-config.rs | ||
types.rs | ||
updater.rs |