Package org.springdoc.core.customizers
Interface OperationCustomizer
-
- All Known Subinterfaces:
GlobalOperationCustomizer
- All Known Implementing Classes:
ActuatorOperationCustomizer
- 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 typeOperationCustomizer
to customize an operation based on the handler method input on default OpenAPI descriptions but not groups- Author:
- bnasslahsen
- See Also:
to customize operations on default OpenAPI description and groups
-
-
Method Summary
All Methods Instance Methods Abstract Methods 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 Detail
-
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 operationhandlerMethod
- original handler method- Returns:
- customized operation
-
-