mix uof.gen.schemas (UOF_API v2.0.0)

Copy Markdown View Source

Generate Ecto embedded schemas from the XSDs cached under priv/xsd/.

mix uof.xsd.fetch     # download the XSDs first (pinned SDK tag)
mix uof.gen.schemas   # then generate

Reads the (git-ignored) priv/xsd/ cache populated by mix uof.xsd.fetch and raises if a group's XSDs are missing. One module per complexType is generated per group into lib/uof/api/schemas/<group>/.