plank

Code generation tool for creating immutable model objects

brewmacoslinux
Try with needOr install directly
Source

About

Framework for generating immutable model objects

Commands

plank

Examples

Generate model classes from a schema file$ plank --input_dir ./schemas --output_dir ./generated --language objc
Generate Swift models from JSON schema$ plank --input_dir ./api_schemas --output_dir ./models --language swift
List available code generation languages$ plank --help