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.

The intention appears to be to keep compatibility but something has changed when it was moved out to an index file.  This change restores the intent.