com.binfast.adpter.core.annotations.PostApiMapping Maven / Gradle / Ivy
package com.binfast.adpter.core.annotations;
import org.springframework.core.annotation.AliasFor;
import org.springframework.web.bind.annotation.RequestMethod;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
/**
* @author 刘斌
* @date 2022/11/5 6:18 下午
*/
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@ApiMapping(
method = RequestMethod.POST
)
public @interface PostApiMapping {
@AliasFor(
annotation = ApiMapping.class
)
String value();
@AliasFor(
annotation = ApiMapping.class
)
String notes() default "";
}