Closed mathieu-pousse closed 8 years ago
I'll submit a PR as I finally managed to implement this one
I think we need a way to set the part on which applies the FieldDescriptor or a way to document more precisely the part content
Agreed. https://github.com/spring-projects/spring-restdocs/issues/161 was a small step in that direction, but there's plenty of room to do more. The hardest part will probably be getting the API right. Suggestions for how you'd like it to look would be most welcome.
I'll submit a PR as I finally managed to implement this one
Great stuff! Thanks
here it is https://github.com/spring-projects/spring-restdocs/pull/270
any comment will be appreciated
M.
Closing in favour of the PR (#270).
I have an endpoint to upload a file and its associated metadata.
It is a multipart request with:
I am able to document the parts but I can't find a way to document the content of the metadata part:
I think we need a way to set the part on which applies the FieldDescriptor or a way to document more precisely the part content