Code Review
/
policy
/
models.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Remove annotations in models
[policy/models.git]
/
models-tosca
/
src
/
main
/
java
/
org
/
onap
/
policy
/
models
/
tosca
/
authorative
/
concepts
/
ToscaProperty.java
diff --git
a/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaProperty.java
b/models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaProperty.java
index
0bd0d44
..
977d327
100644
(file)
--- a/
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaProperty.java
+++ b/
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaProperty.java
@@
-24,7
+24,6
@@
package org.onap.policy.models.tosca.authorative.concepts;
import com.google.gson.annotations.SerializedName;
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;
import java.util.List;
import java.util.Map;
import lombok.Data;
@@
-43,13
+42,11
@@
public class ToscaProperty {
private String name;
private String type;
private String name;
private String type;
- @ApiModelProperty(name = "type_version")
@SerializedName("type_version")
private String typeVersion;
private String description;
@SerializedName("type_version")
private String typeVersion;
private String description;
- @ApiModelProperty(name = "default")
@SerializedName("default")
private Object defaultValue;
@SerializedName("default")
private Object defaultValue;
@@
-57,11
+54,9
@@
public class ToscaProperty {
private Status status;
private List<ToscaConstraint> constraints;
private Status status;
private List<ToscaConstraint> constraints;
- @ApiModelProperty(name = "key_schema")
@SerializedName("key_schema")
private ToscaSchemaDefinition keySchema;
@SerializedName("key_schema")
private ToscaSchemaDefinition keySchema;
- @ApiModelProperty(name = "entry_schema")
@SerializedName("entry_schema")
private ToscaSchemaDefinition entrySchema;
@SerializedName("entry_schema")
private ToscaSchemaDefinition entrySchema;