io.github.unickcheng.rhandler.annotation.RHandlerController Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of response-handler-core Show documentation
Show all versions of response-handler-core Show documentation
The core module which supports RESTful API, exception handler, openapi
The newest version!
/*
* create on 2023-01-12
* GitHub https://github.com/UNICKCHENG/Response-Handler
*/
package io.github.unickcheng.rhandler.annotation;
import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RestController;
import java.lang.annotation.*;
/**
* @author unickcheng
*/
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@RestController
@RHandlerResponseBody
public @interface RHandlerController {
@AliasFor(
annotation = RestController.class
)
String value() default "";
}