Add ApiModelProperty annotation to authorative models 65/84165/2
authorChenfei Gao <cgao@research.att.com>
Thu, 4 Apr 2019 01:37:23 +0000 (21:37 -0400)
committerChenfei Gao <cgao@research.att.com>
Thu, 4 Apr 2019 02:47:40 +0000 (22:47 -0400)
commita50a7d8414e03af2520ed5e4714af2d28016d238
treef80ff30c225a63e1ac9a8d6fbcc76455232b216a
parent09c5d18a9e3b2ae2958d2762bd4277499611d5ec
Add ApiModelProperty annotation to authorative models

Add @ApiModelProperty to authorative models for the fields
that have different serialized names from their property names.

Issue-ID: POLICY-1515
Change-Id: Id6509afe5cc741a6253fc0d1f98ae6b22d31f0d9
Signed-off-by: Chenfei Gao <cgao@research.att.com>
models-tosca/pom.xml
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaConstraint.java
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaEntity.java
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicy.java
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaProperty.java
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaServiceTemplate.java
models-tosca/src/main/java/org/onap/policy/models/tosca/legacy/concepts/LegacyGuardPolicyInput.java
models-tosca/src/main/java/org/onap/policy/models/tosca/legacy/concepts/LegacyOperationalPolicy.java