mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-12 20:50:55 +00:00
cleanup (#20937)
This commit is contained in:
parent
22b678764c
commit
f39675b41a
@ -630,17 +630,6 @@ public class SpringCodegen extends AbstractJavaCodegen
|
|||||||
modelTemplateFiles.clear();
|
modelTemplateFiles.clear();
|
||||||
}
|
}
|
||||||
supportsAdditionalPropertiesWithComposedSchema = true;
|
supportsAdditionalPropertiesWithComposedSchema = true;
|
||||||
|
|
||||||
if (useBeanValidation) {
|
|
||||||
if (additionalProperties.containsKey(USE_SPRING_BUILT_IN_VALIDATION)) {
|
|
||||||
this.useSpringBuiltInValidation = Boolean.parseBoolean(
|
|
||||||
additionalProperties.get(USE_SPRING_BUILT_IN_VALIDATION).toString()
|
|
||||||
);
|
|
||||||
} else {
|
|
||||||
this.useSpringBuiltInValidation = false;
|
|
||||||
}
|
|
||||||
additionalProperties.put(USE_SPRING_BUILT_IN_VALIDATION, useSpringBuiltInValidation);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean containsEnums() {
|
private boolean containsEnums() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user