added support for swift endpoint_type
fixed long line
Merge pull request #66 from brosner/add-endpoint-type

added support for swift endpoint_type