public class JacksonResponseFieldSnippet extends AbstractJacksonFieldSnippet
| Modifier and Type | Field and Description |
|---|---|
static String |
REACTOR_FLUX_CLASS |
static String |
REACTOR_MONO_CLASS |
static String |
SPRING_DATA_PAGE_CLASS |
| Constructor and Description |
|---|
JacksonResponseFieldSnippet() |
JacksonResponseFieldSnippet(Type responseBodyType,
boolean failOnUndocumentedFields) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enrichModel(Map<String,Object> model,
org.springframework.web.method.HandlerMethod handlerMethod,
FieldDescriptors fieldDescriptors) |
JacksonResponseFieldSnippet |
failOnUndocumentedFields(boolean failOnUndocumentedFields) |
String |
getHeaderKey()
Section header key corresponding to entry in translation file.
|
protected String[] |
getTranslationKeys() |
protected Type |
getType(org.springframework.web.method.HandlerMethod method) |
JacksonResponseFieldSnippet |
responseBodyAsType(Type responseBodyType) |
protected boolean |
shouldFailOnUndocumentedFields() |
createFieldDescriptors, firstGenericType, getFileName, hasContent, isCollectioncreateModel, createModelForDescriptorpublic static final String SPRING_DATA_PAGE_CLASS
public static final String REACTOR_MONO_CLASS
public static final String REACTOR_FLUX_CLASS
public JacksonResponseFieldSnippet()
public JacksonResponseFieldSnippet(Type responseBodyType, boolean failOnUndocumentedFields)
public JacksonResponseFieldSnippet responseBodyAsType(Type responseBodyType)
public JacksonResponseFieldSnippet failOnUndocumentedFields(boolean failOnUndocumentedFields)
protected Type getType(org.springframework.web.method.HandlerMethod method)
getType in class AbstractJacksonFieldSnippetprotected void enrichModel(Map<String,Object> model, org.springframework.web.method.HandlerMethod handlerMethod, FieldDescriptors fieldDescriptors)
enrichModel in class StandardTableSnippetpublic String getHeaderKey()
SectionSupportprotected boolean shouldFailOnUndocumentedFields()
shouldFailOnUndocumentedFields in class AbstractJacksonFieldSnippetprotected String[] getTranslationKeys()
getTranslationKeys in class StandardTableSnippetCopyright © 2018 Scalable Capital GmbH. All rights reserved.