Skip to content

Instantly share code, notes, and snippets.

@vitorbg
Last active November 3, 2020 13:45
[AOP-ModuleSecurity] PeopleController
@RestController
@RequestMapping("/api/v1/people")
public class PeopleController implements ModuleSecurity {
@GetMapping
public String getPeople() { return "People "; }
@Override
public ModuleEnum getModule() { return ModuleEnum.MODULE_PEOPLE; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment