title: Spring 3 @PathVariable validation
body: <p>What is the proper way to validate a <strong>@PathVariable</strong> argument? This is not working:</p>
  
  <pre><code>@RequestMapping(value = "/{id}", method = RequestMethod.GET)
      public @ResponseBody Foo getFoo(@Valid @Min(1) @PathVariable("id") Long id) {
  </code></pre>
  
  <p>There is no Exception, it's simply ignored.</p>
  
  <p>I'm using <strong>spring 3.2.3.RELEASE</strong> and <strong>hibernate-validator 5.0.0.Final</strong></p>