title: Symfony2, Swagger 2 and Bundle TimeIncOSS swagger-bundle error
body: <p>I work with symfony project and i want to generate documentation for my <strong>REST Web Service</strong> with <strong>swagger 2</strong>,so i installed <a href="https://github.com/TimeIncOSS/swagger-bundle" rel="nofollow noreferrer"><strong>swagger-bundle</strong></a>
  and i configurid it.but when i tri to generate the json api documenation with this command  </p>
  
  <pre><code>app/console -e=dev swagger:dump
  </code></pre>
  
  <p>i got this error.</p>
  
  <blockquote>
    <p>You must call one of in() or append() methods before iterating over a
    Finder.</p>
  </blockquote>
  
  <p>this is my config file </p>
  
  <pre><code>swagger:
      version: '2.0'
      info:
          title: 'My API'
          version: '1.0.0'
          description: 'My API Description'
      host: '127.0.0.1'
      base_path: '/v2'
      schemes:
          - http
      produces:
          - application/json
      consumes:
          - application/json
      annotations:
          bundles:
              - BOBundleBundle
  </code></pre>
  
  <p>any help please.</p>