title: Does Swagger UI support @PathVariable binding?
body: <p>Currently when I'm testing the Swagger UI for a <strong>GET</strong> request that binds the "id" path variable to a data object, the dataType of the "id" field is Model, instead of a Long.  </p>
  
  <p>For instance, here is the method in the RestController:</p>
  
  <pre><code>@RequestMapping(value = "/{id}", method = GET)
      public AwardVO getAwardById(@PathVariable("id") Award award) {
          LOG.info("inside the get award method: "+award);
          if (award == null) {
              throw new AwardNotFoundException();
          }
  
          return new AwardVO(award);
      }
  </code></pre>
  
  <p>Here is the resulting documentation:</p>
  
  <p><img src="https://i.stack.imgur.com/gQi60.png" alt="swagger ui example"></p>
  
  <p>So when I pass a Long to the input field, I don't receive the desired record.  Is this type of binding supported in Swagger, or do I need to just need to do a lookup for the record and pass the PathVariable as a Long?</p>
  
  <p><strong>Version of Swagger:</strong> compile "com.mangofactory:swagger-springmvc:0.9.5"</p>
  
  <p><strong>SwaggerConfig:</strong></p>
  
  <pre><code>@Configuration
  @EnableSwagger
  public class SwaggerConfig extends WebMvcConfigurerAdapter {
  
      private SpringSwaggerConfig springSwaggerConfig;
  
      @Autowired
      public void setSpringSwaggerConfig(SpringSwaggerConfig springSwaggerConfig) {
          this.springSwaggerConfig = springSwaggerConfig;
      }
  
      @Bean
      public SwaggerSpringMvcPlugin customImplementation() {
          return new SwaggerSpringMvcPlugin(this.springSwaggerConfig).apiInfo(
                  apiInfo())
                  .genericModelSubstitutes(ResponseEntity.class)
                  .includePatterns("/v1/.*", "/register/.*");
      }
  
      private ApiInfo apiInfo() {
          ApiInfo apiInfo = new ApiInfo("API", "API",
                  "API terms of service", "email@gmail.com",
                  "API Licence Type", "API License URL");
          return apiInfo;
      }
  
      @Override
      public void configureDefaultServletHandling(DefaultServletHandlerConfigurer configurer) {
          configurer.enable();
      }
  }
  </code></pre>
  
  <p>Thanks.</p>