Update instruction to disable validateSpec (#684)

This commit is contained in:
William Cheng 2018-07-30 19:29:05 +08:00 committed by Jérémie Bresson
parent b0909ade6f
commit 1cbfca4887

View File

@ -536,7 +536,7 @@ public class CodegenConfigurator implements Serializable {
if (this.isValidateSpec()) {
StringBuilder sb = new StringBuilder();
sb.append("There were issues with the specification. The option can be disabled by passing false to skipValidateSpec (Maven/Gradle) or --skip-validate-spec (CLI).");
sb.append("There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI).");
sb.append(System.lineSeparator());
SpecValidationException ex = new SpecValidationException(sb.toString());
ex.setErrors(validationMessages);