[UPDATE] enhancement

[UPDATE] don't generate structs that don't contain any attribute and
don't inherit from generated struct