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

net.oneandone.neberus.annotation.ApiCurl Maven / Gradle / Ivy

There is a newer version: 4.2.1
Show newest version
package net.oneandone.neberus.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Tells Neberus to generate an example curl.
 */
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface ApiCurl {

    /**
     * If provided, this will be included in the documentation and no curl will be generated.
     *
     * @return the value
     */
    String value() default "";

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy