Provide API for @RestController
Spring Beans
#386
Labels
type: enhancement
New feature or request
Milestone
@RestController
Spring Beans
#386
What needs to be done
A
FindRestControllerBeans
finder should find all classes annotated with@RestController
and return them asRestControllerBean
s offering an API dedicated to@RestController
s.Why it needs to be done
This API will ease creating Tests for
@RestController
, introducing Spring Cloud Contract and all sorts of Spring web-related recipes.Acceptance Criteria
The API should provide all information provided by
@RestController
or any method annotated with request mapping annotations like@GetMapping
orRequestMapping(...)
A
RestControllerBean
has a set ofRestMethod
.RestMethod
provides an API to retrieve all information provided through request mapping annotations.Additional Information
The text was updated successfully, but these errors were encountered: