Skip to content
Ryan Heaton edited this page Sep 17, 2015 · 1 revision

Note: The following applies to Enunciate version 1.x, and not to Enunciate 2

Disabling Warnings

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.

Disable all warnings.

<enunciate>
 <validator>
   <disable-rule id="all.warnings"/>
 </validator>
</enunciate>

Disable warnings for the "ruby" module and the "c" module:

<enunciate>
 <validator>
   <disable-rule id="ruby.warnings"/>
   <disable-rule id="c.warnings"/>
 </validator>
</enunciate>
Clone this wiki locally