swagger-ts-generator icon indicating copy to clipboard operation
swagger-ts-generator copied to clipboard

Check for correct type name when searching subtypes

Open rbsloot opened this issue 6 years ago • 4 comments

rbsloot avatar Jun 13 '18 14:06 rbsloot

@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.

rbsloot avatar Jun 13 '18 14:06 rbsloot

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?

areijngoudt avatar Jun 13 '18 15:06 areijngoudt

Changes are merged :+1:

rbsloot avatar Jun 15 '18 09:06 rbsloot

@areijngoudt Could you resolve this PR if there are no other comments? :)

rbsloot avatar Feb 15 '19 11:02 rbsloot