com.itcoon.common.starter.annotations.AntRestController Maven / Gradle / Ivy
package com.itcoon.common.starter.annotations;
import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.lang.annotation.*;
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@RestController
@RequestMapping
public @interface AntRestController {
@AliasFor(annotation = RestController.class, attribute = "value")
String value() default "";
@AliasFor(annotation = RequestMapping.class, attribute = "path")
String[] path() default {};
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy