title: Swagger PHP - how to define a nested property?
body: <p>I'm using Swagger PHP and most of the definitions are easy to define, but I'm having an issue with a particular piece of data that is not part of a seperate class, but instead an associative array.</p>
  
  <p>The json response I wish to show (simplified for this question):</p>
  
  <pre><code>{
  "id": 1,
  "status": "published",
  "gps": {
      "lat": "0.00000000",
      "lng": "0.00000000"
  }
  </code></pre>
  
  <p>The <code>id</code> and <code>status</code> are easy enough to define, however the <code>gps</code> is a problem as there is no seperate class to define it in, it is an array inside the model.  Is it possible to define this array without having to create a dummy class?</p>
  
  <p>The comments in the model file currently:</p>
  
  <pre><code>/**
   * @SWG\Definition(@SWG\Xml(name="Event"))
   */
   class Event extends BaseModel {
       /**
       * @SWG\Property(
       *      property="id",
       *      type="integer",
       *      example="103"
       * )
       * @SWG\Property(
       *      property="status",
       *      type="string",
       *      enum={"published", "draft", "suspended"}
       *      example="published"
       * )
       */
  
   }
  </code></pre>