Class SubsectionDescriptor
java.lang.Object
org.springframework.restdocs.snippet.AbstractDescriptor<FieldDescriptor>
org.springframework.restdocs.snippet.IgnorableDescriptor<FieldDescriptor>
org.springframework.restdocs.payload.FieldDescriptor
org.springframework.restdocs.payload.SubsectionDescriptor
A description of a subsection, i.e. a field and all of its descendants, in a request or
response payload.
- Since:
 - 1.2.0
 - Author:
 - Andy Wilkinson
 
- 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSubsectionDescriptor(String path) Creates a newSubsectionDescriptordescribing the subsection with the givenpath. - 
Method Summary
Methods inherited from class FieldDescriptor
getPath, getType, isOptional, optional, typeMethods inherited from class IgnorableDescriptor
ignored, isIgnoredMethods inherited from class AbstractDescriptor
attributes, description, getAttributes, getDescription 
- 
Constructor Details
- 
SubsectionDescriptor
Creates a newSubsectionDescriptordescribing the subsection with the givenpath.- Parameters:
 path- the path
 
 -