public class SectionSnippet
extends org.springframework.restdocs.snippet.TemplatedSnippet
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolverFactory |
placeholderResolverFactory |
protected org.springframework.util.PropertyPlaceholderHelper |
propertyPlaceholderHelper |
static String |
SECTION |
protected Collection<String> |
sectionNames |
protected boolean |
skipEmpty |
| Constructor and Description |
|---|
SectionSnippet(Collection<String> sectionNames,
boolean skipEmpty) |
| Modifier and Type | Method and Description |
|---|---|
protected Map<String,Object> |
createModel(org.springframework.restdocs.operation.Operation operation) |
protected Collection<capital.scalable.restdocs.section.SectionSnippet.Section> |
createSections(org.springframework.restdocs.operation.Operation operation,
SnippetTranslationResolver translationResolver) |
protected String |
resolveTitle(org.springframework.web.method.HandlerMethod handlerMethod,
JavadocReader javadocReader,
SnippetTranslationResolver translationResolver) |
public static final String SECTION
protected final org.springframework.restdocs.snippet.RestDocumentationContextPlaceholderResolverFactory placeholderResolverFactory
protected final org.springframework.util.PropertyPlaceholderHelper propertyPlaceholderHelper
protected final Collection<String> sectionNames
protected final boolean skipEmpty
public SectionSnippet(Collection<String> sectionNames, boolean skipEmpty)
protected Map<String,Object> createModel(org.springframework.restdocs.operation.Operation operation)
createModel in class org.springframework.restdocs.snippet.TemplatedSnippetprotected Collection<capital.scalable.restdocs.section.SectionSnippet.Section> createSections(org.springframework.restdocs.operation.Operation operation, SnippetTranslationResolver translationResolver)
protected String resolveTitle(org.springframework.web.method.HandlerMethod handlerMethod, JavadocReader javadocReader, SnippetTranslationResolver translationResolver)
Copyright © 2020 Scalable Capital GmbH. All rights reserved.