#SwiftOpenAPIGenerator

erin sparlingeveryplace
2024-09-01

I love so much. Today I had to build a new series of endpoints for AppStore transaction management, and so I:

1) built the OpenAPI spec, with custom types, in the client
2) Built a CLI in the package that uses the client as a testing ground and mocking tool
3) Built out the real endpoints but with stub responses in a server
environment
4) Adapted the app to use the client

Such a nice workflow. Confidence at each step of the process.

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst