Skip to content

Commit

Permalink
Add includeAdditionalProperties
Browse files Browse the repository at this point in the history
Closes #782
  • Loading branch information
joelittlejohn authored Sep 15, 2017
1 parent 8b8806d commit eb507b2
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions jsonschema2pojo-gradle-plugin/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ dependencies {
// Each configuration is set to the default value
jsonSchema2Pojo {
// Whether to allow 'additional' properties to be supported in classes by adding a map to
// hold these. This is true by default, meaning that the schema rule 'additionalProperties'
// controls whether the map is added. Set this to false to globabally disable additional properties.
includeAdditionalProperties = false
// Whether to generate builder-style methods of the form withXxx(value) (that return this),
// alongside the standard, void-return setters.
generateBuilders = false
Expand Down

0 comments on commit eb507b2

Please sign in to comment.