title: Append properties to Swagger $ref
body: <p>Hi guys I'm trying to append a new properties to a reference object but I can't seem to find the correct answer here's what I'm trying to achieve and the result should be something like below</p>
  
  <pre><code>{
    "results": {         
       "param1": "Add",
       "param2": {},
       "object1": "obj",
       "object2": "object"
    }
   }
  </code></pre>
  
  <p>So below is what I did</p>
  
  <pre><code>responses:
      results:
          description: My description here
          schema:
              $ref: '#/definitions/Success'
  definitions:
      Success:
         properties:
            param1:
              type: string
              default: Add
            param2:
              type: object
            $ref: '#/definitions/ObjectData'
      ObjectData:
         properties:
            object1:
               type: string
               default: obj
            object2:
               type: string
               default: object
  </code></pre>