Skip to content

Commit 5ab4d10

Browse files
author
Caitlin Bales (MSFT)
committed
Serialize odata.type
1 parent f810135 commit 5ab4d10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Templates/Java/models_generated/BaseEntity.java.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import java.util.Map;
1717
if(((OdcmClass)c).Base == null){
1818
#>
1919
@SerializedName("@odata.type")
20-
@Expose(serialize = false)
20+
@Expose
2121
public String oDataType;
2222

2323
private transient AdditionalDataManager additionalDataManager = new AdditionalDataManager(this);

0 commit comments

Comments
 (0)