title: NelmioApiDocBundle how to pass a parameter to a form type classe in @ApiDoc (input) annotation?
body: <p>I have a form used as a service which requires the service container as first param in constructor.</p>
  
  <pre><code># in my services.yml file
      acme_foo_bundle.fish.form.type:
      class: Acme\FooBundle\Form\Type\FishType
      arguments: [@service_container]
      scope: request
  </code></pre>
  
  <p>Both : form and REST API are working well but when I browse the api doc (/app_dev.php/api/doc) it throws an error 500.</p>
  
  <p>After investigations now I know that the error thrown because of the following lines in my rest controller :</p>
  
  <pre><code> /**
   * in my rest controller file (postFishAction)
   * @ApiDoc(
   *   resource = true,
   *   input = "Acme\FooBundle\Form\Type\FishType",
   *   statusCodes = {
   *     200 = "Returned when successful",
   *     400 = "Returned when the form contains errors"
   *   }
   [...]
   */
   public function postFishAction(Request $request){ [...] 
  </code></pre>
  
  <p>The problem is this line :</p>
  
  <pre><code>   input = "Acme\FooBundle\Form\Type\FishType",
  </code></pre>
  
  <p>it requires the service container as param and I don't know how to give it throught the @ApiDoc annotation.</p>
  
  <p>Thanks for your help ✌ </p>