Corrects parameter types for new swagger spec