@Test public void revokeUserTokenPost() { }
public ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { return new ResponseEntity<BasicResponse>(objectMapper.readValue("{ \"status\" : \"ok\" }", BasicResponse.class), HttpStatus.NOT_IMPLEMENTED); } catch (IOException e) { log.error("Couldn't serialize response for content type application/json", e); return new ResponseEntity<BasicResponse>(HttpStatus.INTERNAL_SERVER_ERROR); } } return new ResponseEntity<BasicResponse>(HttpStatus.NOT_IMPLEMENTED); }
RevokeUserTokenApiController implements RevokeUserTokenApi { public ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { return new ResponseEntity<BasicResponse>(objectMapper.readValue("{ \"status\" : \"ok\" }", BasicResponse.class), HttpStatus.NOT_IMPLEMENTED); } catch (IOException e) { log.error("Couldn't serialize response for content type application/json", e); return new ResponseEntity<BasicResponse>(HttpStatus.INTERNAL_SERVER_ERROR); } } return new ResponseEntity<BasicResponse>(HttpStatus.NOT_IMPLEMENTED); } }
RevokeUserTokenApiController implements RevokeUserTokenApi { public ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { return new ResponseEntity<BasicResponse>(objectMapper.readValue("{ \"status\" : \"ok\" }", BasicResponse.class), HttpStatus.NOT_IMPLEMENTED); } catch (IOException e) { log.error("Couldn't serialize response for content type application/json", e); return new ResponseEntity<BasicResponse>(HttpStatus.INTERNAL_SERVER_ERROR); } } return new ResponseEntity<BasicResponse>(HttpStatus.NOT_IMPLEMENTED); } @org.springframework.beans.factory.annotation.Autowired  RevokeUserTokenApiController(ObjectMapper objectMapper, HttpServletRequest request); }
RevokeUserTokenApiController implements RevokeUserTokenApi { public ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { return new ResponseEntity<BasicResponse>(objectMapper.readValue("{ \"status\" : \"ok\" }", BasicResponse.class), HttpStatus.NOT_IMPLEMENTED); } catch (IOException e) { log.error("Couldn't serialize response for content type application/json", e); return new ResponseEntity<BasicResponse>(HttpStatus.INTERNAL_SERVER_ERROR); } } return new ResponseEntity<BasicResponse>(HttpStatus.NOT_IMPLEMENTED); } @org.springframework.beans.factory.annotation.Autowired  RevokeUserTokenApiController(ObjectMapper objectMapper, HttpServletRequest request); ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body); }
RevokeUserTokenApiController implements RevokeUserTokenApi { public ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body) { String accept = request.getHeader("Accept"); if (accept != null && accept.contains("application/json")) { try { return new ResponseEntity<BasicResponse>(objectMapper.readValue("{ \"status\" : \"ok\" }", BasicResponse.class), HttpStatus.NOT_IMPLEMENTED); } catch (IOException e) { log.error("Couldn't serialize response for content type application/json", e); return new ResponseEntity<BasicResponse>(HttpStatus.INTERNAL_SERVER_ERROR); } } return new ResponseEntity<BasicResponse>(HttpStatus.NOT_IMPLEMENTED); } @org.springframework.beans.factory.annotation.Autowired  RevokeUserTokenApiController(ObjectMapper objectMapper, HttpServletRequest request); ResponseEntity<BasicResponse> revokeUserTokenPost(@ApiParam(value = "") @Valid @RequestBody Body body);  }