0

For one of the rest call /rest/task/addAttachmentToNote which is POST request, I'am getting OPTIONSand PATCH being displayed in the Swagger UI. Why? enter image description here

Virat
  • 551
  • 4
  • 9
  • 23
  • Show your controller. – jmattheis Apr 13 '17 at 16:57
  • @jmattheis My Controller is, `@ApiOperation( value = "Add Attachment to Note", response = AttachmentToNoteBean.class, responseContainer = "List", httpMethod = "POST" ) @RequestMapping( value = "/addAttachmentToNote", method = RequestMethod.POST ) public ResponseEntity> addAttachmentToNote( @RequestBody final Map noteAttachment, final HttpServletRequest request ) {` – Virat Apr 14 '17 at 05:34

0 Answers0