类 ModelPropertyContext
java.lang.Object
springfox.documentation.spi.schema.contexts.ModelPropertyContext
-
构造器概要
构造器构造器说明ModelPropertyContext(ModelPropertyBuilder builder, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition, com.fasterxml.classmate.TypeResolver resolver, DocumentationType documentationType) ModelPropertyContext(ModelPropertyBuilder builder, AnnotatedElement annotatedElement, com.fasterxml.classmate.TypeResolver resolver, DocumentationType documentationType) -
方法概要
修饰符和类型方法说明com.google.common.base.Optional<AnnotatedElement>com.google.common.base.Optional<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition>Model property build.Documentation type this context supports, swagger 1.2, 2.0 or vanilla spring mvccom.fasterxml.classmate.TypeResolver
-
构造器详细资料
-
ModelPropertyContext
public ModelPropertyContext(ModelPropertyBuilder builder, AnnotatedElement annotatedElement, com.fasterxml.classmate.TypeResolver resolver, DocumentationType documentationType) -
ModelPropertyContext
public ModelPropertyContext(ModelPropertyBuilder builder, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition, com.fasterxml.classmate.TypeResolver resolver, DocumentationType documentationType)
-
-
方法详细资料
-
getBuilder
Model property build. Use this to override model property attributes- 返回:
- the builder
-
getDocumentationType
Documentation type this context supports, swagger 1.2, 2.0 or vanilla spring mvc- 返回:
- documentation type
-
getAnnotatedElement
- 返回:
- annotated element that this model property is annotated with
-
getBeanPropertyDefinition
public com.google.common.base.Optional<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition> getBeanPropertyDefinition()- 返回:
- bean property definition for this model property
-
getResolver
public com.fasterxml.classmate.TypeResolver getResolver()- 返回:
- resolver used to resolve types
-