From 6b0d295b376d5cc0d8d9bf7090641069a46cfc02 Mon Sep 17 00:00:00 2001 From: Norm Traxler Date: Mon, 18 Mar 2019 16:09:57 +0100 Subject: Change mapping of model IDs Issue-ID: LOG-1014 Change-Id: Ieef2ec4555d28944d98c04bfac10c9b5a0e089d0 Signed-off-by: Norm Traxler --- .../pomba/contextbuilder/sdnc/service/rs/RestService.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/main') 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( -- cgit 1.2.3-korg