All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.binfast.adpter.core.annotations.PostApiMapping Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
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 "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy