title: Rest endpoint mapped with @PathVariables separated by comma
body: <p>I have <code>@RestController</code> with <code>@RequestMapping("/api/my-resource")</code>. I have <code>@GetMapping</code> for extracting certain entity.</p>
  
  <pre><code>@GetMapping(value = "/{firstId},{secondId}")
  public ResponseEntity&lt;MyResourceDTO&gt; findMyResource(
                        @PathVariable Long firstId, @PathVariable String secondId) {
  
      //here I have firstId == null and secondId == null
  }
  </code></pre>
  
  <p>If I replace <code>,</code> with <code>/</code> everything works fine, but the requirement is not to use another <code>/</code>.</p>
  
  <p>I can confirm, that I can enter this method, but both <code>@PathVariable</code>s are mapped to null. Does <code>Spring</code> support this kind of mapping? What have I done wrong?</p>
  
  <p>I would like to achieve something similar to <a href="https://stackoverflow.com/q/10313863/4723795">this</a>, but I must use <code>Spring</code>.</p>
  
  <p><strong>Edit:</strong></p>
  
  <p>I have seen the solution with <code>List</code> but I don't want to use it, as the ids are of different type, so it's not a duplicate. I'm using <code>&lt;spring.version&gt;4.3.6.RELEASE&lt;/spring.version&gt;
  </code></p>