summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/pomba/contextbuilder/sdnc/service/rs/RestService.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/main/java/org/onap/pomba/contextbuilder/sdnc/service/rs/RestService.java b/src/main/java/org/onap/pomba/contextbuilder/sdnc/service/rs/RestService.java
index efab905..75ef13a 100644
--- a/src/main/java/org/onap/pomba/contextbuilder/sdnc/service/rs/RestService.java
+++ b/src/main/java/org/onap/pomba/contextbuilder/sdnc/service/rs/RestService.java
@@ -32,6 +32,8 @@ import javax.ws.rs.core.HttpHeaders;
import javax.ws.rs.core.MediaType;
import javax.ws.rs.core.Response;
+import org.onap.pomba.common.datatypes.ModelContext;
+
@Api
@Path("/")
@@ -42,9 +44,9 @@ public interface RestService {
@Path("service/context")
@Produces({MediaType.APPLICATION_JSON})
@ApiOperation(
- value = "Respond SDNCContext Model Data",
- notes = "Returns a JSON object which represents the SDNCConetxt model data",
- response = Response.class
+ value = "Respond SDNC Context Model Data",
+ notes = "Returns a JSON object which represents the SDNC Context model data",
+ response = ModelContext.class
)
@ApiResponses(
value = {
@@ -62,8 +64,8 @@ public interface RestService {
@Path("{version:[vV][1-5]}/service/context")
@Produces({MediaType.APPLICATION_JSON})
@ApiOperation(
- value = "Respond SDNCContext v1 - v5 Model Data",
- notes = "Returns a JSON object which represents the SDNCConetxt V1 model data",
+ value = "Respond SDNC Context v1 - v5 Model Data",
+ notes = "Returns a JSON object which represents the SDNC Context V1 model data",
response = Response.class
)
@ApiResponses(