Apple's OpenAPI Code generator progressed very well. Unfortunately this is the last issue I see before really adopt it.
Adopting it, is especially now tricky, since it looks like other code generator (such as CreateAPI) are not moving over to Swift 6.0.
[#]swift #openapi #iosdev #swiftdev
https://github.com/apple/swift-openapi-generator/issues/514
=> More informations about this toot | More toots from obrhoff@chaos.social
@obrhoff Can you help me understand how language mode is a factor here? Is the problem that it generates classes and/or non-Sendable value types?
=> More informations about this toot | More toots from mattiem@mastodon.social
@mattiem Yes indeed. Currently I use CreateAPI which for example does not allow to add extra Protocol Conformation to Enums (such as Sendable).
You could workaround it with some extra Codegen tools (such as Sourcery)
=> More informations about this toot | More toots from obrhoff@chaos.social
@obrhoff Right. Today you’d have to use a preconcurrency import for the packages this tool generates.
=> More informations about this toot | More toots from mattiem@mastodon.social This content has been proxied by September (3851b).Proxy Information
text/gemini