I love #swiftOpenApiGenerator 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.
Qiita - 人気の記事