public class LinksSnippet extends AbstractJacksonFieldSnippet
| Constructor and Description |
|---|
LinksSnippet() |
LinksSnippet(Type documentationType,
boolean failOnUndocumentedFields) |
| Modifier and Type | Method and Description |
|---|---|
LinksSnippet |
documentationType(Type documentationType) |
LinksSnippet |
failOnUndocumentedFields(boolean failOnUndocumentedFields) |
String |
getHeaderKey(org.springframework.restdocs.operation.Operation operation)
Section header key corresponding to entry in translation file.
|
protected String[] |
getTranslationKeys() |
protected Type |
getType(org.springframework.web.method.HandlerMethod method) |
protected boolean |
shouldFailOnUndocumentedFields() |
createFieldDescriptors, getFileName, getSkipAcessor, hasContent, isCollectioncreateModel, createModelForDescriptor, enrichModeldocument, getAttributes, getSnippetNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMergeablepublic LinksSnippet()
public LinksSnippet(Type documentationType, boolean failOnUndocumentedFields)
public LinksSnippet documentationType(Type documentationType)
public LinksSnippet 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 StandardTableSnippetCopyright © 2020 Scalable Capital GmbH. All rights reserved.