-
@Target({}) @Retention(SOURCE) public @interface ApiUsecaseMethodA specific REST method used in an usecase. If the method is documented within the same service, it can be referenced by providing the restClass and name (label) of the method. In this case a link will be created and all parameters and responseValues will be cross-checked so they actually exist in the documented method.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.StringdescriptionDescription of the usage of this method.java.lang.StringhttpMethodHttpMethod to use with the provided path.java.lang.StringpathPath of the method to call.
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description ApiUsecaseParam[]parametersUsage explanation of the parameters (header|query|path).ApiUsecaseRequestBody[]requestBodyCustom example of the request body for the usecase.ApiUsecaseResponseBody[]responseBodyCustom example of the response body for the usecase.
-
-
-
-
parameters
ApiUsecaseParam[] parameters
Usage explanation of the parameters (header|query|path).- Returns:
- the parameters
- Default:
- {}
-
-
-
requestBody
ApiUsecaseRequestBody[] requestBody
Custom example of the request body for the usecase.- Returns:
- the request body
- Default:
- {}
-
-
-
responseBody
ApiUsecaseResponseBody[] responseBody
Custom example of the response body for the usecase.- Returns:
- the response body
- Default:
- {}
-
-