Package io.micronaut.openapi.javadoc
Class JavadocDescription
java.lang.Object
io.micronaut.openapi.javadoc.JavadocDescription
A parsed javadoc description.
- Since:
- 1.0
- Author:
- graemerocher
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable String
The deprecated description.@Nullable String
@Nullable String
The return description.void
setDeprecatedDescription
(String deprecatedDescription) Sets the deprecated description.void
setMethodDescription
(String methodDescription) Sets the method description.void
setMethodSummary
(String methodSummary) Sets the method summary.void
setReturnDescription
(String returnDescription) Sets the return description.
-
Constructor Details
-
JavadocDescription
public JavadocDescription()
-
-
Method Details
-
getMethodSummary
- Returns:
- method summary
-
setMethodSummary
Sets the method summary.- Parameters:
methodSummary
- The method summary
-
getMethodDescription
- Returns:
- The description
-
setMethodDescription
Sets the method description.- Parameters:
methodDescription
- The method description
-
getParameters
- Returns:
- The parameter descriptions
-
getReturnDescription
The return description.- Returns:
- The return description
-
setReturnDescription
Sets the return description.- Parameters:
returnDescription
- The return description.
-
getDeprecatedDescription
The deprecated description.- Returns:
- The deprecated description
-
setDeprecatedDescription
Sets the deprecated description.- Parameters:
deprecatedDescription
- The deprecated description.
-