mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-18 17:09:01 +00:00
remove incorrect max, min in allowableValues (#269)
This commit is contained in:
@@ -1664,12 +1664,6 @@ public class DefaultCodegen implements CodegenConfig {
|
||||
|
||||
// legacy support
|
||||
Map<String, Object> allowableValues = new HashMap<String, Object>();
|
||||
if (p.getMinimum() != null) {
|
||||
allowableValues.put("min", p.getMinimum());
|
||||
}
|
||||
if (p.getMaximum() != null) {
|
||||
allowableValues.put("max", p.getMaximum());
|
||||
}
|
||||
|
||||
if (p.getEnum() != null) {
|
||||
List<Object> _enum = p.getEnum();
|
||||
|
||||
Reference in New Issue
Block a user