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.
@FunctionalInterface public interface ParameterCustomizer
Implement and register a bean of typeParameterCustomizerto customize a parameter based on the parameter and handler method input- Author:
- bnasslahsen
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description io.swagger.v3.oas.models.parameters.Parametercustomize(io.swagger.v3.oas.models.parameters.Parameter parameterModel, org.springframework.core.MethodParameter methodParameter)Customize parameter.
-
-
-
Method Detail
-
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
-
-