Restore compatibility for 2.1.0 use of paramTypes directly from swagger

Fix #175 by applying same export logic as 2.1.0 in new index file.