Skip to content

reaster/schema-gen-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Richard EasterlingRichard Easterling
Richard Easterling
and
Richard Easterling
Mar 11, 2020
2680d80 · Mar 11, 2020

History

15 Commits
Jan 21, 2019
Mar 11, 2020
Mar 11, 2020
Mar 11, 2020
Mar 11, 2020
Mar 11, 2020
Aug 11, 2019
Mar 11, 2020
Mar 11, 2020
Dec 12, 2017
Jan 25, 2018
Dec 7, 2017
Jan 25, 2018
Mar 11, 2020
Jan 23, 2018

Repository files navigation

schema-gen-examples

schema-gen examples and tests including Java, Kotlin and Swift 4 code generation projects. These examples are also meant to serve as templates for getting your own projects up and running quickly.

The generated source code is checked-in so you don't have to setup a build to see the output.

Build Status

Usage

To remove the checked-in generated code, use the genClean task:

swift-gpx> gradle genClean

To re-generate the code use the gen task:

swift-gpx> gradle gen

Finally as proof this code actualy works, run the tests:

schema-gen-examples> gradle test

Testing generated Swift code hasn't been integrated into the build yet. However, see the swift-gpx/GpxPlayground.playground for an example of a quick way to test it in Xcode.