title: Mapping of missing URI variables to Request Mapping
body: <p>I've developed a Spring API /getFileData, which accepts three URI parameters viz. businessDate/fileName/recordId. It is possible to have any of them can be passed as null. But I still want my API to be working in this case also. How can I achieve this?</p>
  
  <p>I've tried using <code>@GetMapping("getFileData/{businessDate}/{fileName}/{recordId}", "getFileData/{businessDate}//", "getFileData/{businessDate}/{fileName}/")</code>..so on like this for all possible combinations.</p>
  
  <pre><code>@RequestMapping(value = "/getFileData/{businessDate}/{fileName}/{recordId}", method = RequestMethod.GET)
  </code></pre>
  
  <p>I want this API to be working for all the combination of URI parameters if something get missed out. for example someone requested, </p>
  
  <p><code>/getFileData///22</code> or </p>
  
  <p><code>/getFileData/22Dec2018/</code> or </p>
  
  <pre><code>/getFileData//treasure/22
  </code></pre>