From 01058c2d8d4916e39f2388016e473f93b0a40566 Mon Sep 17 00:00:00 2001 From: "Kajur, Harish (vk250x)" Date: Wed, 10 Apr 2019 12:40:37 -0400 Subject: Include all nodes API in swagger Issue-ID: AAI-2326 Change-Id: I859d3a6656de80471e756ac28580599d8621991f Signed-off-by: Kajur, Harish (vk250x) --- .../org/onap/aai/schemagen/genxsd/NodeGetOperation.java | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'aai-schema-gen/src/main') diff --git a/aai-schema-gen/src/main/java/org/onap/aai/schemagen/genxsd/NodeGetOperation.java b/aai-schema-gen/src/main/java/org/onap/aai/schemagen/genxsd/NodeGetOperation.java index b0961c3..8c8f844 100644 --- a/aai-schema-gen/src/main/java/org/onap/aai/schemagen/genxsd/NodeGetOperation.java +++ b/aai-schema-gen/src/main/java/org/onap/aai/schemagen/genxsd/NodeGetOperation.java @@ -111,19 +111,6 @@ public class NodeGetOperation { return ""; } StringBuffer pathSb = new StringBuffer(); - //Drop out the operations with multiple path parameters - if(CRUDpath.lastIndexOf('{') > CRUDpath.indexOf('{') && StringUtils.isNotEmpty(pathParams)) { - return ""; - } - if(path.lastIndexOf('{') > path.indexOf('{') ) { - return ""; - } - //trim leading path elements before the current node type -// int loc = path.indexOf(xmlRootElementName); -// if(loc > 0) { -// path = "/nodes/"+path.substring(loc); -// } - //append generic parameter syntax to all plural queries if(path.indexOf('{') == -1) { path += "?parameter=value[¶meter2=value2]"; } -- cgit 1.2.3-korg