diff options
author | Norm Traxler <normant@amdocs.com> | 2019-03-18 16:09:57 +0100 |
---|---|---|
committer | Norm Traxler <normant@amdocs.com> | 2019-03-18 16:10:15 +0100 |
commit | 6b0d295b376d5cc0d8d9bf7090641069a46cfc02 (patch) | |
tree | 23dd15a00a455ceacc9f85e8961522852b6c0dbd /src/main | |
parent | 11a0b13e7e8dfcea41be8cfadb14b6f32d344594 (diff) |
Change mapping of model IDs
Issue-ID: LOG-1014
Change-Id: Ieef2ec4555d28944d98c04bfac10c9b5a0e089d0
Signed-off-by: Norm Traxler <normant@amdocs.com>
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/onap/pomba/contextbuilder/sdnc/service/rs/RestService.java | 12 |
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( |