datacontract/datacontract-cli

Model/Spec mismatch

Opened this issue · 0 comments

According to the specification a definition can have a fields section that is a map of strings to Fields, but in the pydantic model the definition can have a fields section that is a map of strings to Definitions. (See http://datacontract.com/#definition-object)

The model should match the spec (one way or another).