Class SpecFilter

  • All Implemented Interfaces:
    io.swagger.v3.core.filter.OpenAPISpecFilter

    public class SpecFilter
    extends io.swagger.v3.core.filter.AbstractSpecFilter
    • Constructor Detail

      • SpecFilter

        public SpecFilter()
    • Method Detail

      • filterOperation

        public Optional<io.swagger.v3.oas.models.Operation> filterOperation​(io.swagger.v3.oas.models.Operation operation,
                                                                            io.swagger.v3.core.model.ApiDescription api,
                                                                            Map<String,​List<String>> params,
                                                                            Map<String,​String> cookies,
                                                                            Map<String,​List<String>> headers)
        Specified by:
        filterOperation in interface io.swagger.v3.core.filter.OpenAPISpecFilter
        Overrides:
        filterOperation in class io.swagger.v3.core.filter.AbstractSpecFilter