diff --git a/lib/index.js b/lib/index.js
index <HASH>..<HASH> 100755
--- a/lib/index.js
+++ b/lib/index.js
@@ -408,7 +408,7 @@ internals.buildAPIInfo = function (settings, apiData, slug) {
             }
             if(responseProperty.items) {
                 // add these to the api operations
-                api.operations[0].items = responseProperty.items;
+                op.items = responseProperty.items;
             }
         }
op is the proper variable here