@@ -55,14 +55,14 @@ public class SectionSnippet extends TemplatedSnippet {
5555
5656 public static final String SECTION = "auto-section" ;
5757
58- private final RestDocumentationContextPlaceholderResolverFactory placeholderResolverFactory =
58+ protected final RestDocumentationContextPlaceholderResolverFactory placeholderResolverFactory =
5959 new RestDocumentationContextPlaceholderResolverFactory ();
6060
61- private final PropertyPlaceholderHelper propertyPlaceholderHelper =
61+ protected final PropertyPlaceholderHelper propertyPlaceholderHelper =
6262 new PropertyPlaceholderHelper ("{" , "}" );
6363
64- private final Collection <String > sectionNames ;
65- private final boolean skipEmpty ;
64+ protected final Collection <String > sectionNames ;
65+ protected final boolean skipEmpty ;
6666
6767 public SectionSnippet (Collection <String > sectionNames , boolean skipEmpty ) {
6868 super (SECTION , null );
@@ -89,7 +89,7 @@ protected Map<String, Object> createModel(Operation operation) {
8989 return model ;
9090 }
9191
92- private Collection <Section > createSections (Operation operation , SnippetTranslationResolver translationResolver ) {
92+ protected Collection <Section > createSections (Operation operation , SnippetTranslationResolver translationResolver ) {
9393 List <Section > sections = new ArrayList <>();
9494 for (String sectionName : sectionNames ) {
9595 SectionSupport section = getSectionSnippet (operation , sectionName );
@@ -125,7 +125,7 @@ private Map<String, Object> defaultModel(Operation operation) {
125125 return model ;
126126 }
127127
128- private String resolveTitle (HandlerMethod handlerMethod , JavadocReader javadocReader ,
128+ protected String resolveTitle (HandlerMethod handlerMethod , JavadocReader javadocReader ,
129129 SnippetTranslationResolver translationResolver ) {
130130 String title = javadocReader .resolveMethodTag (handlerMethod .getBeanType (),
131131 handlerMethod .getMethod ().getName (), "title" );
0 commit comments