aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authordglFromAtt <dgl@research.att.com>2018-12-26 16:14:50 -0500
committerdglFromAtt <dgl@research.att.com>2018-12-26 17:05:33 -0500
commitc5780d2978120fc6b4ba70a399664de8405f7c20 (patch)
tree93d6e1451e86a5bca10039ae8614f19ef8d6c1b1 /src/main
parent30f5f28cdd17eb94ca70db6dbf027cc330bb59e7 (diff)
Fix reference to DR_Sub
patch2: include docs/api.rst Change-Id: I100a5baad0bfee1be6d6fd800d2647cf29bbd3da Signed-off-by: dglFromAtt <dgl@research.att.com> Issue-ID: DMAAP-900 Signed-off-by: dglFromAtt <dgl@research.att.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/dmaap/dbcapi/resources/DR_SubResource.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/resources/DR_SubResource.java b/src/main/java/org/onap/dmaap/dbcapi/resources/DR_SubResource.java
index 41a491d..58a39df 100644
--- a/src/main/java/org/onap/dmaap/dbcapi/resources/DR_SubResource.java
+++ b/src/main/java/org/onap/dmaap/dbcapi/resources/DR_SubResource.java
@@ -38,7 +38,6 @@ import javax.ws.rs.core.Response.Status;
import org.onap.dmaap.dbcapi.logging.BaseLoggingClass;
import org.onap.dmaap.dbcapi.model.ApiError;
-import org.onap.dmaap.dbcapi.model.DR_Pub;
import org.onap.dmaap.dbcapi.model.DR_Sub;
import org.onap.dmaap.dbcapi.model.Feed;
import org.onap.dmaap.dbcapi.service.ApiService;
@@ -63,7 +62,7 @@ public class DR_SubResource extends BaseLoggingClass {
notes = "Returns array of `DR_Sub` objects. Add filter for feedId.",
response = DR_Sub.class)
@ApiResponses( value = {
- @ApiResponse( code = 200, message = "Success", response = DR_Pub.class),
+ @ApiResponse( code = 200, message = "Success", response = DR_Sub.class),
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
public Response getDr_Subs() {
@@ -83,7 +82,7 @@ public class DR_SubResource extends BaseLoggingClass {
notes = "Create a `DR_Sub` object. ",
response = DR_Sub.class)
@ApiResponses( value = {
- @ApiResponse( code = 200, message = "Success", response = DR_Pub.class),
+ @ApiResponse( code = 200, message = "Success", response = DR_Sub.class),
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
public Response addDr_Sub(
@@ -132,7 +131,7 @@ public class DR_SubResource extends BaseLoggingClass {
notes = "Update a `DR_Sub` object, selected by subId",
response = DR_Sub.class)
@ApiResponses( value = {
- @ApiResponse( code = 200, message = "Success", response = DR_Pub.class),
+ @ApiResponse( code = 200, message = "Success", response = DR_Sub.class),
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
@Path("/{subId}")
@@ -173,7 +172,7 @@ public class DR_SubResource extends BaseLoggingClass {
notes = "Delete a `DR_Sub` object, selected by subId",
response = DR_Sub.class)
@ApiResponses( value = {
- @ApiResponse( code = 200, message = "Success", response = DR_Pub.class),
+ @ApiResponse( code = 200, message = "Success", response = DR_Sub.class),
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
@Path("/{subId}")
@@ -202,7 +201,7 @@ public class DR_SubResource extends BaseLoggingClass {
notes = "Retrieve a `DR_Sub` object, selected by subId",
response = DR_Sub.class)
@ApiResponses( value = {
- @ApiResponse( code = 200, message = "Success", response = DR_Pub.class),
+ @ApiResponse( code = 200, message = "Success", response = DR_Sub.class),
@ApiResponse( code = 400, message = "Error", response = ApiError.class )
})
@Path("/{subId}")