Package org.springdoc.core.models
Class MethodAdviceInfo
java.lang.Object
org.springdoc.core.models.MethodAdviceInfo
The type Method advice info.
- Author:
- bnasslahsen
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.responses.ApiResponses
Gets api responses.Gets exceptions.Gets method.void
setApiResponses
(io.swagger.v3.oas.models.responses.ApiResponses apiResponses) Sets api responses.void
setExceptions
(Set<Class<?>> exceptions) Sets exceptions.
-
Constructor Details
-
MethodAdviceInfo
Instantiates a new Method advice info.- Parameters:
method
- the method
-
-
Method Details
-
getMethod
Gets method.- Returns:
- the method
-
getExceptions
Gets exceptions.- Returns:
- the exceptions
-
setExceptions
Sets exceptions.- Parameters:
exceptions
- the exceptions
-
getApiResponses
public io.swagger.v3.oas.models.responses.ApiResponses getApiResponses()Gets api responses.- Returns:
- the api responses
-
setApiResponses
public void setApiResponses(io.swagger.v3.oas.models.responses.ApiResponses apiResponses) Sets api responses.- Parameters:
apiResponses
- the api responses
-