| Package | Description |
|---|---|
| org.springframework.restdocs.payload |
Documenting the payload of a RESTful API's requests and responses.
|
| Modifier and Type | Method and Description |
|---|---|
static FieldTypeResolver |
FieldTypeResolver.forContent(byte[] content,
org.springframework.http.MediaType contentType)
Deprecated.
since 2.0.4 in favor of
forContentWithDescriptors(byte[], MediaType, List) |
static FieldTypeResolver |
FieldTypeResolver.forContentWithDescriptors(byte[] content,
org.springframework.http.MediaType contentType,
java.util.List<FieldDescriptor> descriptors)
Create a
FieldTypeResolver for the given content and
contentType, described by the given descriptors. |