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