Swift Handling routes from an API in a type-safe way with Swift In this post, I explain how to extend Swift to make our own type-safe way of handling data coming from an API.