public class JacksonRequestFieldSnippet extends AbstractJacksonFieldSnippet
| Constructor and Description |
|---|
JacksonRequestFieldSnippet() |
JacksonRequestFieldSnippet(Type requestBodyType,
boolean failOnUndocumentedFields) |
| Modifier and Type | Method and Description |
|---|---|
JacksonRequestFieldSnippet |
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) |
boolean |
isMergeable()
Flag if section is mergeable with other sections with the same header
|
JacksonRequestFieldSnippet |
requestBodyAsType(Type requestBodyType) |
protected boolean |
shouldFailOnUndocumentedFields() |
createFieldDescriptors, getFileName, hasContent, isCollectioncreateModel, createModelForDescriptor, enrichModelpublic JacksonRequestFieldSnippet()
public JacksonRequestFieldSnippet(Type requestBodyType, boolean failOnUndocumentedFields)
public JacksonRequestFieldSnippet requestBodyAsType(Type requestBodyType)
public JacksonRequestFieldSnippet failOnUndocumentedFields(boolean failOnUndocumentedFields)
protected Type getType(org.springframework.web.method.HandlerMethod method)
getType in class AbstractJacksonFieldSnippetpublic 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 AbstractJacksonFieldSnippetpublic boolean isMergeable()
SectionSupportCopyright © 2020 Scalable Capital GmbH. All rights reserved.