iOSエンジニアがバックエンド入門する
https://qiita.com/kota1021/items/025433ee3ceb9de4954a?utm_campaign=popular_items&utm_medium=feed&utm_source=popular_items
#qiita #Swift #ServerSideSwift #OpenAPI #OpenAPIGenerator #SwiftOpenAPIGenerator
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.