Merge branch 'csharp/INotifyPropertyChanged' of https://github.com/jimschubert/swagger-codegen into jimschubert-csharp/INotifyPropertyChanged

This commit is contained in:
wing328
2016-08-12 15:04:04 +08:00
10 changed files with 57 additions and 15 deletions

View File

@@ -48,6 +48,8 @@ public class CSharpClientOptionsTest extends AbstractOptionsTest {
times = 1;
clientCodegen.setOptionalEmitDefaultValue(true);
times = 1;
clientCodegen.setGeneratePropertyChanged(true);
times = 1;
}};
}
}

View File

@@ -33,6 +33,7 @@ public class CSharpClientOptionsProvider implements OptionsProvider {
.put(CodegenConstants.OPTIONAL_PROJECT_GUID, PACKAGE_GUID_VALUE)
.put(CodegenConstants.DOTNET_FRAMEWORK, "4.x")
.put(CodegenConstants.OPTIONAL_EMIT_DEFAULT_VALUES, "true")
.put(CodegenConstants.GENERATE_PROPERTY_CHANGED, "true")
.build();
}