Fixed typos in SPM API Java Files
This commit is contained in:
+1
-1
@@ -105,7 +105,7 @@ public class LookupTableApiResource {
|
|||||||
@Consumes({ MediaType.APPLICATION_JSON })
|
@Consumes({ MediaType.APPLICATION_JSON })
|
||||||
@Produces({ MediaType.APPLICATION_JSON })
|
@Produces({ MediaType.APPLICATION_JSON })
|
||||||
@Transactional
|
@Transactional
|
||||||
@ApiOperation(value = "Create a Lookup Table entry", notes = "Add a new netry to a survey.\n" + "\n" + "Mandatory Fields\n" + "key, score, validFrom, validTo")
|
@ApiOperation(value = "Create a Lookup Table entry", notes = "Add a new entry to a survey.\n" + "\n" + "Mandatory Fields\n" + "key, score, validFrom, validTo")
|
||||||
@ApiResponses({@ApiResponse(code = 200, message = "OK")})
|
@ApiResponses({@ApiResponse(code = 200, message = "OK")})
|
||||||
public void createLookupTable(@PathParam("surveyId") @ApiParam(value = "Enter surveyId") final Long surveyId,
|
public void createLookupTable(@PathParam("surveyId") @ApiParam(value = "Enter surveyId") final Long surveyId,
|
||||||
final LookupTableData lookupTableData) {
|
final LookupTableData lookupTableData) {
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ public class ScorecardApiResource {
|
|||||||
@Consumes({ MediaType.APPLICATION_JSON })
|
@Consumes({ MediaType.APPLICATION_JSON })
|
||||||
@Produces({ MediaType.APPLICATION_JSON })
|
@Produces({ MediaType.APPLICATION_JSON })
|
||||||
@Transactional
|
@Transactional
|
||||||
@ApiOperation(value = "Create a Scorecard entry", notes = "Add a new netry to a survey.\n" + "\n" + "Mandatory Fields\n" + "clientId, createdOn, questionId, responseId, staffId")
|
@ApiOperation(value = "Create a Scorecard entry", notes = "Add a new entry to a survey.\n" + "\n" + "Mandatory Fields\n" + "clientId, createdOn, questionId, responseId, staffId")
|
||||||
@ApiResponses({@ApiResponse(code = 200, message = "OK")})
|
@ApiResponses({@ApiResponse(code = 200, message = "OK")})
|
||||||
public void createScorecard(@PathParam("surveyId") @ApiParam(value = "Enter surveyId") final Long surveyId, @ApiParam(format = "body", type = "body") final ScorecardData scorecardData) {
|
public void createScorecard(@PathParam("surveyId") @ApiParam(value = "Enter surveyId") final Long surveyId, @ApiParam(format = "body", type = "body") final ScorecardData scorecardData) {
|
||||||
final AppUser appUser = this.securityContext.authenticatedUser();
|
final AppUser appUser = this.securityContext.authenticatedUser();
|
||||||
|
|||||||
Reference in New Issue
Block a user