I solved that implementing a unit test that collects all endpoints with java reflection and checks for the annotation. If a developer forgets it, Jenkins will complain that this test failed.