Marwes / schemafy

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

redfish schema #18

Closed cholcombe973 closed 5 years ago

cholcombe973 commented 5 years ago

I'm trying to get schemafy to generate some code for redfish. The storage subsection is particularly of interest to me: http://redfish.dmtf.org/schemas/v1/Storage.v1_5_0.json. Can schemafy handle something like this?

Marwes commented 5 years ago

There are definitely parts of that which schemafy can't handle in which case it will fall back to serde_json::Value. You will have to try it to see how well it works overall though.

cholcombe973 commented 5 years ago

Ok thanks!