Don't include "nullVersion" in swagger API 15/85515/2
authorJim Hahn <jrh3@att.com>
Tue, 16 Apr 2019 19:32:12 +0000 (15:32 -0400)
committerJim Hahn <jrh3@att.com>
Tue, 16 Apr 2019 19:42:47 +0000 (15:42 -0400)
commit70be3b7d76f6bd8d2c834496c688d349933e7130
tree3a9d82a58bc3e7d582430837f95c540c85998549
parent46c8422501ac8321e11493693f2ad5b2ea8e1293
Don't include "nullVersion" in swagger API

Swagger sitll uses jackson, thus it is including
ToscaPolicyIdentifierOptVersion.isNullVersion() in the API that it
generates.  Added @JsonIgnore annotation to prevent it from being
included.  Similar issue with get/setVersion() in PdpGroup.
Created POLICY-1653 to remove the isNullVersion() method altogether in
El Alto.

Change-Id: I6cb7b7d1d75258eeb9d6f9b6c7a48eeb32174307
Issue-ID: POLICY-1542
Signed-off-by: Jim Hahn <jrh3@att.com>
models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpGroup.java
models-tosca/src/main/java/org/onap/policy/models/tosca/authorative/concepts/ToscaPolicyIdentifierOptVersion.java