Łukasz Lech
Senior iOS Engineer at Heetch - french based ride-hailing company operating in multiple countries in Europe and Africa. Always eager to try new thing, during and after work. Server-side-swift enthusiast
Heetch
Your job title –Senior iOS Engineer
Session
Everyone loves automation, right? What if I tell you, you’re no longer needed to write your networking code? Let’s meet Swift OpenAPI Generator and learn how to generate Swift code from an OpenAPI document in your iOS or Vapor project!
In this talk, I would like to present the newly introduced Swift OpenAPI generator which can help to work with HTTP server API in iOS or Vapor projects. I’ll show how Swift OpenAPI generator package can simplify the codebase by generating code from an OpenAPI document. Talk agenda: - How to document HTTP API with OpenAPI - Generating Swift code from OpenAPI document - Using generated code in iOS project - Using generated code in Vapor project(with a super-quick introduction to Swift Vapor) - Adapting to API changes - Testing your app with mocks