               rel: "update"
               href: item_path
               schema:
-                $ref: "#"
+                type: "array"
+                items:
+                  $ref: "#"
             "PATCH":
               method: "PATCH"
               rel: "update"


        resource_OPTIONS = (req, res) =>
          response = Object.clone(config.schema, true)
          response.links = []
          response.definitions ||= {}
          
          resource_methods =

              rel: "create"
              href: resource_path
              schema: 
                type: "array"
                items:
                  $ref: "#"
            "DELETE":
              method: "DELETE"
              rel: "destroy"
