Interface OpenApiMethodFilter

    • Method Detail

      • isMethodToInclude

        boolean isMethodToInclude​(Method method)
        Whether the given method should be included in the generated OpenApi definitions. Only methods from classes detected by the relevant loader will be passed to this filter; it cannot be used to load methods that are not annotated with `RequestMethod` or similar mechanisms. Methods that are rejected by this filter will not be processed any further, although methods accepted by this filter may still be rejected by other checks, such as package inclusion checks so may still be excluded from the final OpenApi definition.
        Parameters:
        method - the method to perform checks against
        Returns:
        whether this method should be used for further processing