errorTags.add("responseMessage"); // swagger 1.2
typesToTreatAsOpaque = new ArrayList<String>();
typesToTreatAsOpaque.add("org.joda.time.DateTime");
typesToTreatAsOpaque.add("java.util.UUID");
translator = new FirstNotNullTranslator()
.addNext(new AnnotationAwareTranslator()
.ignore("javax.xml.bind.annotation.XmlTransient")
.element("javax.xml.bind.annotation.XmlElement", "name")
.rootElement("javax.xml.bind.annotation.XmlRootElement", "name")
)
.addNext(new AnnotationAwareTranslator()
.ignore("com.fasterxml.jackson.annotation.JsonIgnore")
.element("com.fasterxml.jackson.annotation.JsonProperty", "value")
.rootElement("com.fasterxml.jackson.annotation.JsonRootName", "value")
)
.addNext(new NameBasedTranslator());