We're using datamodel-code-generator
for our Python code at @airbytehq, and I was about to make a little experimental app with Swift on our protocol, and realized there is not great way to generate models in Swift for JSON Schemas.
Let's add Swift support!
A good solution should:
Codable
CoreData
or SwiftData
or other Apple-specific frameworks. Cool to add support, but consider that a separate output format. I don't want to lock-in to Apple frameworks. Swift on Server and all that.Additionally, generated code should be validated:
swift-format
on the generated code if availableswift build
on the generated code (that might require making a dummy package / library target).I would be interested in tinkering with this. Before starting, wanted to run this by @koxudaxi to see if it makes sense to add Swift generation to koxudaxi.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too