Skip to content
This repository has been archived by the owner on Nov 18, 2021. It is now read-only.

JSON schema generation

lampapos edited this page Sep 10, 2014 · 1 revision

Helium can generate JSON schema for any of described type. To trigger schema generation you have to add jsonSchema{} section into the sourceGen section:

helium {
  specification file('example.api')
  sourceGen {
    jsonSchema { }
  }
}

You can find sample project here

Clone this wiki locally