From 9c1e9636d89ab4d5f15a27d1257237b222a7b858 Mon Sep 17 00:00:00 2001 From: Piotr Stanior Date: Wed, 2 Dec 2020 10:37:59 +0100 Subject: CDS Fix Swagger issues Fixed unique id generation for overloaded method. Changed example values in ApiModelProperty annotation to fix issues in Swagger json file. Issue-ID: CCSDK-3014 Change-Id: If83dc88187b62346182d1fb4b753aae544bbc322 Signed-off-by: Piotr Stanior --- .../functions/config/snapshots/db/ResourceConfigSnapshot.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ms/blueprintsprocessor/functions/config-snapshots/src/main') diff --git a/ms/blueprintsprocessor/functions/config-snapshots/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/config/snapshots/db/ResourceConfigSnapshot.kt b/ms/blueprintsprocessor/functions/config-snapshots/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/config/snapshots/db/ResourceConfigSnapshot.kt index 31d84e60d..7df5ea144 100644 --- a/ms/blueprintsprocessor/functions/config-snapshots/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/config/snapshots/db/ResourceConfigSnapshot.kt +++ b/ms/blueprintsprocessor/functions/config-snapshots/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/config/snapshots/db/ResourceConfigSnapshot.kt @@ -46,7 +46,7 @@ import javax.persistence.TemporalType @Proxy(lazy = false) class ResourceConfigSnapshot : Serializable { - @get:ApiModelProperty(value = "Resource type.", required = true, example = "ServiceInstance, VfModule, VNF, PNF") + @get:ApiModelProperty(value = "Resource type.", required = true, example = "\"ServiceInstance\"") @Column(name = "resource_type", nullable = false) var resourceType: String? = null -- cgit 1.2.3-korg