Fix: treat child models as referenced

This commit shows model subtypes as referenced models in the swagger ui. Things missing: discriminator fields should be added here also, discriminator values should be shown for each child model. This is not possible yet as swagger spec does not have values information.

Does not break existing behavior if there are no subtypes in the model list.