Yeah sorry I am very new to swagger...Collection java should map to List swagger..