HLTech / pact-gen

MIT License
14 stars 4 forks source link

Support for inline query params in @RequestMapping and composed annotations annotation #72

Closed matek2305 closed 4 years ago

matek2305 commented 4 years ago

Add support for quesry params added inline in value param of @RequestMapping and composed annotations, f.e.:

@GetMapping(value = "/search/clients?type=A", produces = MediaType.APPLICATION_JSON_UTF8_VALUE)
List<EntryDto> searchForEntries(@RequestParam("client") String clientNumber);

For such case whole value param of annotation @GetMapping is treated like path, expected behavior should be to split this into path and query params for proper contracts validation.