Auto-generate Swift 5 API client for REST APIs

We've added a Swift5 API client generator (beta) to the OpenAPI Generator project. Please check it out and let us know if you've any feedback by opening an issue/ticket.

To try it out, please refer to the instructions in https://www.reddit.com/r/swift/comments/elbq9n/autogenerate_swift_5_api_client_for_rest_apis/

Thank you for your attention.

3 Likes

Hi, @wing328 FWIW I have been using for 1.5 years Swaggen which is library generator in Swift for OpenAPI and it's great.

I don't want or have java on my system is there a way to test your generator with docker ?

Yes, please refer to https://github.com/OpenAPITools/openapi-generator#16---docker on how to use OpenAPI Generator with Docker.

UPDATE: swift5 client generator has been included in the OpenAPI Generator v4.2.3 release: https://twitter.com/oas_generator/status/1223289771813785601