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

com.jetdrone.vertx.yoke.annotations.Parameter Maven / Gradle / Ivy

The newest version!
package com.jetdrone.vertx.yoke.annotations;

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

@Retention(RetentionPolicy.RUNTIME)
@Target({ElementType.ANNOTATION_TYPE})
public @interface Parameter {
    String name();
    String description() default "";
    boolean required() default false;
    DataType type();
    ParamType paramType() default ParamType.PATH;
    boolean allowMultiple() default false;
    String defaultValue() default "";
    String minimum() default "";
    String maximum() default "";
    String[] enumeration() default {};
    String modelRef() default "";

    DataType items() default DataType.UNDEFINED;
    String itemsRefId() default "";
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy