Added support for form types for ApiParams