title: Swagger Data Type Model in ImplicitParam with Play Framework
body: <p>I'm trying to use Swagger to document my REST API. Following this <a href="https://github.com/swagger-api/swagger-core/blob/master/samples/scala-play2/app/controllers/PetApiController.scala" rel="noreferrer">example</a>, I annotate the REST Endpoints like this:</p>
  
  <pre><code>case class CreateItemRequest(title: String, body: String)
  
  @ApiOperation(value = "Create a new item", httpMethod = "POST", response = classOf[Item])
  @ApiImplicitParams(Array(new ApiImplicitParam(dataType = "CreateItemRequest", paramType = "body", name = "body", required = true, allowMultiple = false, value = "The item object to create")))
  def create(
            @ApiParam(value = "Hash of the user", required = true)
            @QueryParam("userhash") userhash: String
            ) 
  </code></pre>
  
  <p>And I was expecting to get "Model" like <img src="https://i.stack.imgur.com/1pFiK.png" alt="this"> but I get only the String "CreateItemRequest" as Data Type. Not the properties of the case class CreateItemRequest.</p>
  
  <p>Greetings,
  Daniel</p>