swagger-ts-generator
swagger-ts-generator copied to clipboard
Check for correct type name when searching subtypes
@areijngoudt , I changed some logic in the isInTypesToFilter function. It now checks based on a contains match instead of an exact match.
I noticed that all property names are also passed to this function. I am not sure if this was your initial intention.
I just pushed a new version with changes to the model generator class. Can you please merge your changes into this new version and push another PR?
Changes are merged :+1:
@areijngoudt Could you resolve this PR if there are no other comments? :)