mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-18 00:21:20 +00:00
20 lines
432 B
Java
20 lines
432 B
Java
package com.wordnik.annotations;
|
|
|
|
import java.lang.annotation.ElementType;
|
|
import java.lang.annotation.Retention;
|
|
import java.lang.annotation.RetentionPolicy;
|
|
import java.lang.annotation.Target;
|
|
|
|
|
|
/**
|
|
* Annotation used to provide list of possible values
|
|
* @author ramesh
|
|
*
|
|
*/
|
|
@Target({ElementType.FIELD,ElementType.METHOD})
|
|
@Retention(RetentionPolicy.RUNTIME)
|
|
public @interface AllowableValues {
|
|
|
|
String value() default "";
|
|
}
|