-
Notifications
You must be signed in to change notification settings - Fork 200
Two JSON Sections
Tyson Lindhardt edited this page Aug 1, 2016
·
4 revisions
If Enunciate unexpectedly generates two "JSON" sections of your documentation, it's probably because you have both Jackson 1 and Jackson 2 on your classpath. You can remove the duplication by doing any of the following:
- Remove either Jackson 1 or Jackson 2 from your classpath.
- Disable the "jackson" module. (Jackson 2)
- Disable the "jackson1" module. (Jackson 1)
Here's how you might disable the "jackson" module using your Enunciate configuration file:
<enunciate>
<modules>
<jackson disabled="true"/>
</modules>
</enunciate>