Remove JsonProperty, Use Gson to replace Jackson
[portal/nonrtric-controlpanel.git] / webapp-backend / src / main / java / org / oransc / portal / nonrtric / controlpanel / model / ProducerStatusInfo.java
index 77f02a8..53daebb 100644 (file)
@@ -20,7 +20,6 @@
 
 package org.oransc.portal.nonrtric.controlpanel.model;
 
-import com.fasterxml.jackson.annotation.JsonProperty;
 import com.google.gson.annotations.SerializedName;
 
 import lombok.Builder;
@@ -37,7 +36,6 @@ public class ProducerStatusInfo {
     }
 
     @SerializedName("operational_state")
-    @JsonProperty(value = "operational_state", required = true)
     public final OperationalState opState;
 
     public ProducerStatusInfo(OperationalState state) {