jsonschema-generator
jsonschema-generator copied to clipboard
Maven plugin - Configuration of the generator
The configuration of a Generator in the pom.xml should support :
- Base definition: One of the labels of OptionPreset. PLAIN_JSON as the default value.
- Options that have to be enabled
- Options that have to be disabled
Proposal:
<options>
<preset>FULL_DOCUMENTATION</preset>
<enabled>
<option>DEFINITIONS_FOR_ALL_OBJECTS</option>
<option>FORBIDDEN_ADDITIONAL_PROPERTIES_BY_DEFAULT</option>
</enabled>
<disabled>
<option>SIMPLIFIED_ENUMS</option>
</disabled>
</options>
What do you think Carsten?
I like it.
PR merged. Issue can be closed.