Remove annotations in models
[policy/models.git] / models-tosca / src / main / java / org / onap / policy / models / tosca / authorative / concepts / ToscaProperty.java
index 59fbc8b..977d327 100644 (file)
@@ -24,7 +24,6 @@
 package org.onap.policy.models.tosca.authorative.concepts;
 
 import com.google.gson.annotations.SerializedName;
-import io.swagger.annotations.ApiModelProperty;
 import java.util.List;
 import java.util.Map;
 import lombok.Data;
@@ -41,26 +40,25 @@ public class ToscaProperty {
     }
 
     private String name;
-
     private String type;
 
+    @SerializedName("type_version")
     private String typeVersion;
 
     private String description;
 
-    @ApiModelProperty(name = "default")
     @SerializedName("default")
     private Object defaultValue;
 
     private boolean required = false;
-
     private Status status;
-
     private List<ToscaConstraint> constraints;
 
-    @ApiModelProperty(name = "entry_schema")
+    @SerializedName("key_schema")
+    private ToscaSchemaDefinition keySchema;
+
     @SerializedName("entry_schema")
-    private ToscaEntrySchema entrySchema;
+    private ToscaSchemaDefinition entrySchema;
 
     private Map<String, String> metadata;
 }