I also ran into the following issue: the FieldDefinition.type points to object instead of FieldType. This makes serializing/deserializing with auto generated code impossible.
See
|
type: object # FieldType # ToDO: fix when discriminators are correctly resolved |
According to the file it is an TODO item. Changing this in the file on our end makes things work.