Package org.springdoc.core.customizers
Interface PropertyCustomizer
- 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
PropertyCustomizer
to customize a schema property
based on annotated type- Author:
- bnasslahsen
-
Method Summary
Modifier and TypeMethodDescriptionio.swagger.v3.oas.models.media.Schema
customize
(io.swagger.v3.oas.models.media.Schema property, io.swagger.v3.core.converter.AnnotatedType type) Customize schema.
-
Method Details
-
customize
io.swagger.v3.oas.models.media.Schema customize(io.swagger.v3.oas.models.media.Schema property, io.swagger.v3.core.converter.AnnotatedType type) Customize schema.- Parameters:
property
- to be customizedtype
- form the model class- Returns:
- customized property
-