Package org.springdoc.core.customizers
Interface ParameterCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Implement and register a bean of type
ParameterCustomizer
to customize a parameter
based on the parameter and handler method input- Author:
- bnasslahsen
-
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.parameters.Parameter
customize
(io.swagger.v3.oas.models.parameters.Parameter parameterModel, org.springframework.core.MethodParameter methodParameter) Customize parameter.
-
Method Details
-
customize
io.swagger.v3.oas.models.parameters.Parameter customize(io.swagger.v3.oas.models.parameters.Parameter parameterModel, org.springframework.core.MethodParameter methodParameter) Customize parameter.- Parameters:
parameterModel
- to be customizedmethodParameter
- original parameter from handler method- Returns:
- customized parameter
-