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()
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, firstGenericType, getFileName, hasContent, isCollectioncreateModel, createModelForDescriptor, enrichModelpublic 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()
SectionSupportprotected boolean shouldFailOnUndocumentedFields()
shouldFailOnUndocumentedFields in class AbstractJacksonFieldSnippetprotected String[] getTranslationKeys()
getTranslationKeys in class StandardTableSnippetCopyright © 2018 Scalable Capital GmbH. All rights reserved.