ryankennedy / swagger-jaxrs-doclet

Apache License 2.0
87 stars 136 forks source link

Treat java.lang.Object as a primitive. #39

Closed leelynne closed 11 years ago

leelynne commented 11 years ago

We need to use Object in our Dropwizard API for some dynamic responses. The model parser introspects deeply into java.lang.Object and generates are very large json file for that API. The swagger UI ends up with errors when parsing the resulting file.

This change treats java.lang.Object like a primitive and just stops recursing when encountered.