Marwes / schemafy

Crate for generating rust types from a json schema

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redfish schema

cholcombe973 opened this issue · comments

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?

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.

Ok thanks!