title: Default value is taken as (empty) for a string in swagger even though i have given a default value
body: <p>I am trying to integrate swagger with my project.</p>
  
  <p>I have given the dependencies in pom, copied the dist folder from swagger into my workspace.</p>
  
  <pre><code>&lt;repositories&gt;
      &lt;repository&gt;
          &lt;id&gt;oss-jfrog-artifactory&lt;/id&gt;
          &lt;name&gt;oss-jfrog-artifactory-releases&lt;/name&gt;
          &lt;url&gt;http://oss.jfrog.org/artifactory/oss-release-local&lt;/url&gt;
      &lt;/repository&gt;
  &lt;/repositories&gt; 
  
  &lt;dependency&gt;
          &lt;groupId&gt;com.mangofactory&lt;/groupId&gt;
          &lt;artifactId&gt;swagger-springmvc&lt;/artifactId&gt;
          &lt;version&gt;0.8.8&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.ajar&lt;/groupId&gt;
          &lt;artifactId&gt;swagger-spring-mvc-ui&lt;/artifactId&gt;
          &lt;version&gt;0.1&lt;/version&gt;
          &lt;scope&gt;compile&lt;/scope&gt;
      &lt;/dependency&gt;
  </code></pre>
  
  <p>I haven't created the swagger config class but added these in application context.</p>
  
  <pre><code>&lt;mvc:default-servlet-handler/&gt;
  &lt;context:annotation-config /&gt;
  &lt;mvc:annotation-driven/&gt;
  &lt;bean name="springSwaggerConfig" class="com.mangofactory.swagger.configuration.SpringSwaggerConfig" /&gt;
  
  &lt;bean id="swaggerSpringMvcPlugin" class="com.mangofactory.swagger.plugin.SwaggerSpringMvcPlugin"&gt;
      &lt;constructor-arg ref="springSwaggerConfig"&gt;&lt;/constructor-arg&gt; 
  &lt;/bean&gt;
  </code></pre>
  
  <p>My API accepts a path variable and gives me the response. This is the sample API</p>
  
  <pre><code>@ApiOperation(value="This is the test API")
      @RequestMapping(value = "sayHello/{userName}", method = RequestMethod.GET)
      public @ResponseBody String testAPI(@ApiParam(defaultValue="xyz", required=true) @PathVariable String userName){
          return "Hello" + userName; 
      }   
  </code></pre>
  
  <p>Even though i have given a default value it is not taking the value, instead it is taking the value as (empty).</p>
  
  <p>When trying to check the request and response on swagger, there is not text box against the value nor the "Try it out" button.</p>
  
  <p>Can you please let me know what needs to be done to fix the issue.!</p>