code: function resolveExtendedParameters(obj) {
  
                  // assume all references are resolved, just copy parameters down the
                  // inheritence chain. If I am derived check base first.
                  if (obj["extends"]) {
                      resolveExtendedParameters(obj["extends"]);
                      obj.parameters = obj.parameters || [];
                      obj.parameters = obj.parameters.concat(obj["extends"].parameters);
                  }
              }
docs: mix-in parameters for extended schemas