@GetMapping("/message")
	@Operation
	@ResponseBody
	public HelloMessage message() {
		return new HelloMessage("Lucky numbers!", 777);
	}
To test the case a user does not use @RestController but puts @Operation on handler methods
and wants these methods to be exposed.

@author Azige
springdoc-openapi-starter-webmvc-api/src/test/java/test/org/springdoc/api/v31/app149/HelloController.java