Marwes / schemafy

Crate for generating rust types from a json schema
MIT License
242 stars 51 forks source link

Handle cases where additionalProperties field is a boolean. #14

Closed adeschamps closed 6 years ago

adeschamps commented 6 years ago

If it's false, then we always generate a struct, even if it has no properties. If true, then we can generate a map of String -> Value.

Marwes commented 6 years ago

Looks Good, thanks!