Skip to content

Provide API for @RestController Spring Beans #386

@fabapp2

Description

@fabapp2

What needs to be done

A FindRestControllerBeans finder should find all classes annotated with @RestController and return them as RestControllerBeans offering an API dedicated to @RestControllers.

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 or RequestMapping(...)

A RestControllerBean has a set of RestMethod.
RestMethod provides an API to retrieve all information provided through request mapping annotations.

Additional Information

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions