title: Swagger, PHP variables in comments, for loop
body: <p>I'm new to swagger, and need some help ;)
  everything is set up, and works ..</p>
  
  <p>my controllers is set up automatically with a for loop, is there a way to</p>
  
  <pre><code>$services = array(
      "Users",
      "Radios",
      "Stations",
      "UserAccess",
      "Scratchs",
      "Members",
      "Pages",
  );
  
  $api = $this-&gt;app["controllers_factory"];
  
  foreach($services as $service) {
          $service = strtolower($service);
  
          /**
           * @SWG\Resource(basePath="/api/v1",resourcePath="/$service")
           */
  
          /**
           * @SWG\Api(
           *   path="/$service/{id}",
           *   description="Operations on $service", 
           *   @SWG\Operation(
           *      method="GET", 
           *      summary="Find a $service",
           *      nickname="get$service",
           *      type="array", items="$ref:$service",
           *      @SWG\ResponseMessage(code=404, message="$service not found"),
           *      @SWG\ResponseMessage(code=200, message="$service found")
           *   )
           * )
           */
          $api-&gt;get('/'.$service, $service.".controller:get");
  
  
  }
  </code></pre>
  
  <p>the swagger output look like this ..</p>
  
  <pre><code>{
      "apiVersion": "v1",
      "swaggerVersion": "1.2",
      "apis": [
          {
              "path": "/$service",
              "description": "Operations on $service"
          }
      ]
  }
  </code></pre>
  
  <p>is there a way to do this correctly?</p>