     bodyParam:
       in: 'body'
       name: 'body'
-      schema: $ref: '#/definitions/defaultSelector'
+      schema: $ref: '#/definitions/DefaultSelector'
       required: true
       description: 'body of the request'
 


  schema = if definitions[name]
  then { $ref: "#/definitions/#{name}" }
  else { $ref: "#/definitions/defaultResponse" }

  for method, signatures of methods.statik


  ]

  definitions:
    DefaultSelector:
      type: 'object'
      properties:
        _id:
          type: 'string'
          description: 'Mongo Object ID'
          example: '582c21d43bf248161538450b'
    DefaultResponse:
      type: 'object'
      properties:
        ok:
