title: How to make a request parameter optional in Spring REST Docs
body: <p>I know <code>fieldWithPath()</code> has <code>optional()</code> but didn't find how to make <code>parameterWithName()</code> optional.</p>