forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/master' into 4.0.x
This commit is contained in:
@@ -535,7 +535,10 @@ public class CodegenConfigurator implements Serializable {
|
||||
}
|
||||
|
||||
if (this.isValidateSpec()) {
|
||||
SpecValidationException ex = new SpecValidationException("Specification has failed validation.");
|
||||
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(System.lineSeparator());
|
||||
SpecValidationException ex = new SpecValidationException(sb.toString());
|
||||
ex.setErrors(validationMessages);
|
||||
ex.setWarnings(warnings);
|
||||
throw ex;
|
||||
|
||||
@@ -556,7 +556,7 @@ paths:
|
||||
tags:
|
||||
- "fake_classname_tags 123#$%^"
|
||||
summary: To test class name in snake case
|
||||
descriptions: To test class name in snake case
|
||||
description: To test class name in snake case
|
||||
operationId: testClassname
|
||||
consumes:
|
||||
- application/json
|
||||
|
||||
Reference in New Issue
Block a user