Duplicate Request Parameters being recorded in the snippet [duplicate]
问题 This question already has answers here : RestDocs does double documentation on request parameters (2 answers) Closed 3 years ago . As the title suggests I have a Controller endpoint I'm trying to document. The endpoint can take 2 parameters both are optional. When it goes to generate the code the parameter is duplicated. Controller @RequestMapping("/bitbucket/project") public Project findProject(@RequestParam(value = "key", required = false) String key, @RequestParam(value = "name", required