forked from loafle/openapi-generator-original
Update instruction to disable validateSpec (#684)
This commit is contained in:
parent
b0909ade6f
commit
1cbfca4887
@ -536,7 +536,7 @@ public class CodegenConfigurator implements Serializable {
|
|||||||
|
|
||||||
if (this.isValidateSpec()) {
|
if (this.isValidateSpec()) {
|
||||||
StringBuilder sb = new StringBuilder();
|
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());
|
sb.append(System.lineSeparator());
|
||||||
SpecValidationException ex = new SpecValidationException(sb.toString());
|
SpecValidationException ex = new SpecValidationException(sb.toString());
|
||||||
ex.setErrors(validationMessages);
|
ex.setErrors(validationMessages);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user