public class EmbeddedSnippet extends AbstractJacksonFieldSnippet
| Constructor and Description |
|---|
EmbeddedSnippet() |
EmbeddedSnippet(Type documentationType,
boolean failOnUndocumentedFields) |
| Modifier and Type | Method and Description |
|---|---|
EmbeddedSnippet |
documentationType(Type documentationType) |
EmbeddedSnippet |
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 EmbeddedSnippet()
public EmbeddedSnippet(Type documentationType, boolean failOnUndocumentedFields)
public EmbeddedSnippet documentationType(Type documentationType)
public EmbeddedSnippet 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.