taskManagerApiRest/src/main/java/com/salvador/thiago/taskManagerApiRest/resouce/TaskResource.java
@ApiOperation(value="Search for a task by ID")
	@RequestMapping(value = "/{id}", method = RequestMethod.GET)
	public ResponseEntity<TaskDto> findById(@PathVariable Long id){
		TaskDto obj = service.findById(id);
		return ResponseEntity.ok().body(obj);
	}
/**
	   * <p>Method responsible for receiving of front a GET of
	   *  protocol HTTP data type
	   *  Json and send to next validation layer<p>
	   *  
	   * @param  id
	   * @return ResponseEntity<TaskDto>
	   */
Method responsible for receiving of front a GET of
protocol HTTP data type
Json and send to next validation layer

@param  id
@return ResponseEntity
Method responsible for receiving of front a GET of protocol HTTP data type Json and send to next validation layer @param id @return ResponseEntity
@ApiOperation(value="Search for a task by ID")
	@RequestMapping(value = "/{id}", method = RequestMethod.GET)
	public ResponseEntity<TaskDto> findById(@PathVariable Long id){
		TaskDto obj = service.findById(id);
		return ResponseEntity.ok().body(obj);
	}
@ ApiOperation ( value = "Search for a task by ID" ) @ RequestMapping ( value = "/{id}" , method = RequestMethod . GET ) public ResponseEntity < TaskDto > findById ( @ PathVariable Long id ) { TaskDto obj = service . findById ( id ) ; return ResponseEntity . ok ( ) . body ( obj ) ; }
<p>Method responsible for receiving of front a GET of
  protocol HTTP data type
  Json and send to next validation layer<p>
<p > Method responsible for receiving of front a GET of protocol HTTP data type Json and send to next validation layer<p >