Hi ,
I am using Jersey as my rest container , and have integrated swagger with Jersey to generate swagger model for rest-resources.
One of my rest-resource has methods
public JAXBElement<Double> getAge() {
return age;
}
public JAXBElement<QueryBean> getData() {
return data;
}
public JAXBElement<String> getName() {
return name;
}
this class was generated using Jaxb-xjc , swagger core is not generating models for JAXBElement , which is very common type in Service implementation.
This is how the model looks.