Fixed a problem of duplicated models displayed

I am currently using the latest version of swagger-ui which has a dependency to this project.
However, it appears that models are displayed multiple times as referred in this bug report :
https://github.com/wordnik/swagger-ui/issues/136
This fix solved the problem. :)