wordnik/swagger-core — pull request #610 by kendzi (2014-07-04 09:52:36+00:00)
Title: Merge models from multiple resource definition

I'm using swagger with JAX-RS. My project has resource which is split into two facades. Both facades have the same path and api key. Swagger correctly merge all methods from both facades with description but it is not merging definition of models. So models definitions are present only for facade which was scanned first and second has only empty class name. I'm referring to models definitions which are used inside “Response Class” and for input parameters “Data Type”.

I have created example patch which fix the problem. Unfortunately my scala knowledge is poor and it most likely could be improved.