updated to swagger 2.0