Class MethodAdviceInfo

java.lang.Object
org.springdoc.core.models.MethodAdviceInfo

public class MethodAdviceInfo extends Object
The type Method advice info.
Author:
bnasslahsen
  • Constructor Details

    • MethodAdviceInfo

      public MethodAdviceInfo(Method method)
      Instantiates a new Method advice info.
      Parameters:
      method - the method
  • Method Details

    • getMethod

      public Method getMethod()
      Gets method.
      Returns:
      the method
    • getExceptions

      public Set<Class<?>> getExceptions()
      Gets exceptions.
      Returns:
      the exceptions
    • setExceptions

      public void setExceptions(Set<Class<?>> exceptions)
      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