forked from loafle/openapi-generator-original
add readonly property support to C#
This commit is contained in:
@@ -177,6 +177,9 @@ public class CodegenProperty {
|
||||
if (this.isEnum != other.isEnum) {
|
||||
return false;
|
||||
}
|
||||
if (this.isReadOnly != other.isReadOnly && (this.isReadOnly == null || !this.isReadOnly.equals(other.isReadOnly))) {
|
||||
return false;
|
||||
}
|
||||
if (this._enum != other._enum && (this._enum == null || !this._enum.equals(other._enum))) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user