Ancestors

Toot

Written by obrhoff on 2025-01-29 at 11:33

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

Descendants

Written by Matt Massicotte on 2025-01-29 at 12:03

@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

Written by obrhoff on 2025-01-29 at 12:53

@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

Written by Matt Massicotte on 2025-01-29 at 12:55

@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

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113911423514861009
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
260.760067 milliseconds
Gemini-to-HTML Time
0.751916 milliseconds

This content has been proxied by September (3851b).