public class ModelPropertyContext
extends java.lang.Object
Constructor and Description |
---|
ModelPropertyContext(springfox.documentation.builders.ModelPropertyBuilder builder,
java.lang.reflect.AnnotatedElement annotatedElement,
com.fasterxml.classmate.TypeResolver resolver,
DocumentationType documentationType) |
ModelPropertyContext(springfox.documentation.builders.ModelPropertyBuilder builder,
com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition,
com.fasterxml.classmate.TypeResolver resolver,
DocumentationType documentationType) |
Modifier and Type | Method and Description |
---|---|
com.google.common.base.Optional<java.lang.reflect.AnnotatedElement> |
getAnnotatedElement() |
com.google.common.base.Optional<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition> |
getBeanPropertyDefinition() |
springfox.documentation.builders.ModelPropertyBuilder |
getBuilder()
Model property build.
|
DocumentationType |
getDocumentationType()
Documentation type this context supports, swagger 1.2, 2.0 or vanilla spring mvc
|
com.fasterxml.classmate.TypeResolver |
getResolver() |
public ModelPropertyContext(springfox.documentation.builders.ModelPropertyBuilder builder, java.lang.reflect.AnnotatedElement annotatedElement, com.fasterxml.classmate.TypeResolver resolver, DocumentationType documentationType)
public ModelPropertyContext(springfox.documentation.builders.ModelPropertyBuilder builder, com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition beanPropertyDefinition, com.fasterxml.classmate.TypeResolver resolver, DocumentationType documentationType)
public springfox.documentation.builders.ModelPropertyBuilder getBuilder()
public DocumentationType getDocumentationType()
public com.google.common.base.Optional<java.lang.reflect.AnnotatedElement> getAnnotatedElement()
public com.google.common.base.Optional<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition> getBeanPropertyDefinition()
public com.fasterxml.classmate.TypeResolver getResolver()