updated code
This commit is contained in:
@@ -19,7 +19,7 @@ import java.util.List;
|
||||
|
||||
public interface LookUpDataApi {
|
||||
|
||||
@Operation(summary = "API to create LookUp Data",
|
||||
@Operation(summary = "Api to create LookUp Data",
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "OK"),
|
||||
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, examples = {
|
||||
@@ -31,7 +31,7 @@ public interface LookUpDataApi {
|
||||
@PostMapping(value = "", consumes = "application/json", produces = "application/json")
|
||||
ResponseEntity<Response<LookUpDataResponseBean>> createLookUpData(HttpServletRequest request, @Valid @RequestBody LookUpDataRequest lookUpDataReq);
|
||||
|
||||
@Operation(summary = "API to get LookUp Data by id",
|
||||
@Operation(summary = "Api to get LookUp Data by id",
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "OK"),
|
||||
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, examples = {
|
||||
@@ -43,7 +43,7 @@ public interface LookUpDataApi {
|
||||
@GetMapping(value = "/{id}", produces = "application/json")
|
||||
ResponseEntity<Response<LookUpDataResponseBean>> getLookUpDataById(HttpServletRequest request, @PathVariable Long id);
|
||||
|
||||
@Operation(summary = "API to update LookUp Data",
|
||||
@Operation(summary = "Api to update LookUp Data",
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "OK"),
|
||||
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, examples = {
|
||||
@@ -55,7 +55,7 @@ public interface LookUpDataApi {
|
||||
@PutMapping(value = "/{id}", consumes = "application/json", produces = "application/json")
|
||||
ResponseEntity<Response<LookUpDataResponseBean>> updateLookUpData(HttpServletRequest request, @PathVariable Long id, @Valid @RequestBody LookUpDataRequest lookUpDataReq);
|
||||
|
||||
@Operation(summary = "API to delete LookUp Data",
|
||||
@Operation(summary = "Api to delete LookUp Data",
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "204", description = "No Content"),
|
||||
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, examples = {
|
||||
@@ -67,7 +67,7 @@ public interface LookUpDataApi {
|
||||
@DeleteMapping(value = "/{id}")
|
||||
ResponseEntity<Response<Void>> deleteLookUpData(HttpServletRequest request, @PathVariable Long id);
|
||||
|
||||
@Operation(summary = "API to get LookUp Data by type",
|
||||
@Operation(summary = "Api to get LookUp Data by type",
|
||||
responses = {
|
||||
@ApiResponse(responseCode = "200", description = "OK"),
|
||||
@ApiResponse(responseCode = "404", description = "Not Found", content = @Content(mediaType = MediaType.APPLICATION_JSON_VALUE, examples = {
|
||||
|
||||
Reference in New Issue
Block a user