If I try to pass a LinkDescriptor, which is ignored and does not have a description, to the RamlResourceSnippetParameters I will get a FieldDescriptor validation error by Spring Restdocs.
The reason for this is in com.epages.restdocs.raml.RamlResourceSnippetParameters:
If I try to pass a
LinkDescriptor
, which is ignored and does not have a description, to theRamlResourceSnippetParameters
I will get aFieldDescriptor
validation error by Spring Restdocs.The reason for this is in
com.epages.restdocs.raml.RamlResourceSnippetParameters
:It will convert all
LinkDescriptor
s toFieldDescriptor
s, but it will not carry over the ignored information.