aboutsummaryrefslogtreecommitdiffstats
path: root/cps-rest
diff options
context:
space:
mode:
Diffstat (limited to 'cps-rest')
-rw-r--r--cps-rest/docs/api/swagger/openapi.yml14
-rw-r--r--cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java5
2 files changed, 2 insertions, 17 deletions
diff --git a/cps-rest/docs/api/swagger/openapi.yml b/cps-rest/docs/api/swagger/openapi.yml
index 9b2ac1ec5d..82f47c088f 100644
--- a/cps-rest/docs/api/swagger/openapi.yml
+++ b/cps-rest/docs/api/swagger/openapi.yml
@@ -198,13 +198,6 @@ paths:
required: true
schema:
type: string
- requestBody:
- description: xpath
- content:
- application/json:
- schema:
- type: string
- required: true
responses:
200:
description: OK
@@ -317,13 +310,6 @@ paths:
required: true
schema:
type: string
- requestBody:
- description: requestBody
- content:
- application/json:
- schema:
- type: string
- required: true
responses:
200:
description: OK
diff --git a/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java b/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java
index 90c287cdaf..f0c5fcbc43 100644
--- a/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java
+++ b/cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java
@@ -93,13 +93,12 @@ public class CpsRestController implements CpsRestApi {
}
@Override
- public ResponseEntity<Object> getNode(@Valid String body, String dataspaceName) {
+ public ResponseEntity<Object> getNode(String dataspaceName) {
return null;
}
@Override
- public ResponseEntity<Object> getNodeByDataspaceAndAnchor(@Valid String body, String dataspaceName,
- String anchorName) {
+ public ResponseEntity<Object> getNodeByDataspaceAndAnchor(String dataspaceName, String anchorName) {
return null;
}