diff options
author | niamhcore <niamh.core@est.tech> | 2020-11-13 15:29:27 +0000 |
---|---|---|
committer | Niamh Core <niamh.core@est.tech> | 2020-11-16 09:35:59 +0000 |
commit | 0faa2695763f279f6329f56d7d2c6376292de5a3 (patch) | |
tree | f64500ba3dcd983ab3b3b554dc09aa5d01417f77 /cps-rest | |
parent | f6e70e35de2055fad96b42af09c537e57b77bfd9 (diff) |
Fixing errors in openapi.yaml
https://jira.onap.org/browse/CPS-83
Issue-ID: CPS-83
Signed-off-by: niamhcore <niamh.core@est.tech>
Change-Id: I665b829b65cebcec6f03951aa1c8a91f59f2269b
Diffstat (limited to 'cps-rest')
-rw-r--r-- | cps-rest/docs/api/swagger/openapi.yml | 14 | ||||
-rw-r--r-- | cps-rest/src/main/java/org/onap/cps/rest/controller/CpsRestController.java | 5 |
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; } |