-
@Target(TYPE) @Retention(SOURCE) @Repeatable(ApiUsecases.class) @Inherited public @interface ApiUsecase
Defines a specific usecase of the REST service. Usecases must be defined in seperate classes or interfaces apart from the normal apidoc. The javadoc of the defining class (must be placed above the annotations) will be used as introduction.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringnameName of the usecase.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.StringdescriptionGeneral description of the usecase.ApiUsecaseMethod[]methodsThe REST methods to be used for this usecase in order of definition.
-
-
-
-
methods
ApiUsecaseMethod[] methods
The REST methods to be used for this usecase in order of definition.- Returns:
- the used methods
- Default:
- {}
-
-