updating swagger dependency to 1.2.2