ie3-institute/powerFactory2psdm

SchemaGenerator makes a list out of single objects which leads to an exception when parsing

Opened this issue · 0 comments

If the SchemaGenerator encounters a single object as attribute of a class within the json file, it still writes the corresponding attribute of the schema as a Option[List[T]]. As the parser now expects a list of objects where only a single object resides, it fails when parsing the json file .