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/resource/resolution/db/ResourceResolution.kt | 2 +- .../functions/resource/resolution/db/TemplateResolution.kt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ms/blueprintsprocessor/functions/resource-resolution/src/main') diff --git a/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolution.kt b/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolution.kt index 55a4d1120..8f3e5175e 100644 --- a/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolution.kt +++ b/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/ResourceResolution.kt @@ -70,7 +70,7 @@ class ResourceResolution : Serializable { @Column(name = "resolution_key", nullable = false) var resolutionKey: String? = null - @get:ApiModelProperty(value = "Resolution type.", required = true, example = "ServiceInstance, VfModule, VNF") + @get:ApiModelProperty(value = "Resolution type.", required = true, example = "\"ServiceInstance\"") @Column(name = "resource_type", nullable = false) var resourceType: String? = null diff --git a/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/TemplateResolution.kt b/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/TemplateResolution.kt index 971caa338..a53e901fd 100755 --- a/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/TemplateResolution.kt +++ b/ms/blueprintsprocessor/functions/resource-resolution/src/main/kotlin/org/onap/ccsdk/cds/blueprintsprocessor/functions/resource/resolution/db/TemplateResolution.kt @@ -62,7 +62,7 @@ class TemplateResolution : Serializable { @Column(name = "resolution_key", nullable = false) var resolutionKey: String? = null - @get:ApiModelProperty(value = "Resolution type.", required = true, example = "ServiceInstance, VfModule, VNF") + @get:ApiModelProperty(value = "Resolution type.", required = true, example = "\"ServiceInstance\"") @Column(name = "resource_type", nullable = false) var resourceType: String? = null -- cgit 1.2.3-korg