Rust: Additional properties mixed & properties
BelfordZ opened this issue · 0 comments
BelfordZ commented
There are a few different types of object schemas
- properties is used, additional props unused
- props unused, addtional props used
- both are used
at least for now, when additional props is used on its own, we should give the type HashMap<String, ..>
.
If just props is used, it should be a simple struct.
If both are used, it should be a struct alongside a flattened AdditionalProps
field.