For one of the rest call /rest/task/addAttachmentToNote
which is POST
request, I'am getting OPTIONS
and PATCH
being displayed in the Swagger UI. Why?
Asked
Active
Viewed 37 times
0

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