-
Notifications
You must be signed in to change notification settings - Fork 200
Disabling Warnings
Ryan Heaton edited this page Sep 17, 2015
·
1 revision
Note: The following applies to Enunciate version 1.x, and not to Enunciate 2
Some modules output warnings about your Web service API, which sometimes you don't want to know about. You can disable the warnings using the disable-rule configuration element. You can disabled the "all.warnings" rule to disable all warnings, or you can disable the "{modulename}.warnings" rule to disable the warnings of a specific module.
<enunciate>
<validator>
<disable-rule id="all.warnings"/>
</validator>
</enunciate>
<enunciate>
<validator>
<disable-rule id="ruby.warnings"/>
<disable-rule id="c.warnings"/>
</validator>
</enunciate>