mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-04 14:40:53 +00:00
[csharp] Remove generatePropertyChanged when explicitly false (#4280)
This commit is contained in:
parent
648f8df235
commit
8e1eeaa737
@ -199,6 +199,10 @@ public class CSharpClientCodegen extends AbstractCSharpCodegen {
|
|||||||
} else {
|
} else {
|
||||||
setGeneratePropertyChanged(Boolean.valueOf(additionalProperties.get(CodegenConstants.GENERATE_PROPERTY_CHANGED).toString()));
|
setGeneratePropertyChanged(Boolean.valueOf(additionalProperties.get(CodegenConstants.GENERATE_PROPERTY_CHANGED).toString()));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(Boolean.FALSE.equals(this.generatePropertyChanged)) {
|
||||||
|
additionalProperties.remove(CodegenConstants.GENERATE_PROPERTY_CHANGED);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
additionalProperties.put("targetFrameworkNuget", this.targetFrameworkNuget);
|
additionalProperties.put("targetFrameworkNuget", this.targetFrameworkNuget);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user