CLDIDE-2028; fix swagger output for create factory method;