public class JacksonResponseFieldSnippet extends AbstractJacksonFieldSnippet
| Modifier and Type | Field and Description |
|---|---|
static String |
REACTOR_FLUX_CLASS |
static String |
REACTOR_MONO_CLASS |
static Set<String> |
SPRING_HATEOAS_CLASSES |
| 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,
SnippetTranslationResolver translationResolver) |
JacksonResponseFieldSnippet |
failOnUndocumentedFields(boolean failOnUndocumentedFields) |
String |
getHeaderKey(org.springframework.restdocs.operation.Operation operation)
Section header key corresponding to entry in translation file.
|
protected com.fasterxml.jackson.annotation.JsonProperty.Access |
getSkipAcessor() |
protected String[] |
getTranslationKeys() |
protected Type |
getType(org.springframework.web.method.HandlerMethod method) |
JacksonResponseFieldSnippet |
responseBodyAsType(Type responseBodyType) |
protected boolean |
shouldFailOnUndocumentedFields() |
createFieldDescriptors, getFileName, hasContent, isCollectioncreateModel, createModelForDescriptordocument, getAttributes, getSnippetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMergeablepublic 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, SnippetTranslationResolver translationResolver)
enrichModel in class StandardTableSnippetpublic String getHeaderKey(org.springframework.restdocs.operation.Operation operation)
SectionSupportoperation - operationprotected boolean shouldFailOnUndocumentedFields()
shouldFailOnUndocumentedFields in class AbstractJacksonFieldSnippetprotected String[] getTranslationKeys()
getTranslationKeys in class StandardTableSnippetprotected com.fasterxml.jackson.annotation.JsonProperty.Access getSkipAcessor()
getSkipAcessor in class AbstractJacksonFieldSnippetCopyright © 2020 Scalable Capital GmbH. All rights reserved.