mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-03 14:10:56 +00:00
put all values into dynamic properties map
This commit is contained in:
parent
435ce7b9d5
commit
d22398eb73
@ -324,10 +324,7 @@ public class CodegenConfigurator {
|
|||||||
|
|
||||||
@JsonAnySetter
|
@JsonAnySetter
|
||||||
public CodegenConfigurator addDynamicProperty(String name, Object value) {
|
public CodegenConfigurator addDynamicProperty(String name, Object value) {
|
||||||
if (value instanceof String) {
|
dynamicProperties.put(name, value.toString());
|
||||||
dynamicProperties.put(name, (String) value);
|
|
||||||
}
|
|
||||||
|
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user