@Component public class FieldModelPropertyProvider extends java.lang.Object implements ModelPropertiesProvider
| Modifier and Type | Field and Description |
|---|---|
protected com.fasterxml.jackson.databind.ObjectMapper |
objectMapper |
| Constructor and Description |
|---|
FieldModelPropertyProvider(FieldProvider fieldProvider,
BeanPropertyNamingStrategy namingStrategy,
SchemaPluginsManager schemaPluginsManager,
TypeNameExtractor typeNameExtractor) |
| Modifier and Type | Method and Description |
|---|---|
void |
onApplicationEvent(ObjectMapperConfigured event) |
java.util.List<springfox.documentation.schema.ModelProperty> |
propertiesFor(com.fasterxml.classmate.ResolvedType type,
springfox.documentation.spi.schema.contexts.ModelContext givenContext) |
@Autowired public FieldModelPropertyProvider(FieldProvider fieldProvider, BeanPropertyNamingStrategy namingStrategy, SchemaPluginsManager schemaPluginsManager, TypeNameExtractor typeNameExtractor)
public java.util.List<springfox.documentation.schema.ModelProperty> propertiesFor(com.fasterxml.classmate.ResolvedType type,
springfox.documentation.spi.schema.contexts.ModelContext givenContext)
propertiesFor in interface ModelPropertiesProviderpublic void onApplicationEvent(ObjectMapperConfigured event)
onApplicationEvent in interface org.springframework.context.ApplicationListener<ObjectMapperConfigured>