Interface OperationCustomizer

All Known Subinterfaces:
GlobalOperationCustomizer
All Known Implementing Classes:
ActuatorOperationCustomizer, QuerydslPredicateOperationCustomizer
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface OperationCustomizer
Implement and register a bean of type OperationCustomizer to customize an operation based on the handler method input on default OpenAPI descriptions but not groups
Author:
bnasslahsen
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    io.swagger.v3.oas.models.Operation
    customize(io.swagger.v3.oas.models.Operation operation, org.springframework.web.method.HandlerMethod handlerMethod)
    Customize operation.
  • Method Details

    • customize

      io.swagger.v3.oas.models.Operation customize(io.swagger.v3.oas.models.Operation operation, org.springframework.web.method.HandlerMethod handlerMethod)
      Customize operation.
      Parameters:
      operation - input operation
      handlerMethod - original handler method
      Returns:
      customized operation