js/ZypSMDReader.js
function (methodName) {
            var response = this.getResponseSchema(methodName),
                payloadName = this.getResponsePayloadName(methodName),
                isList = false;

            if (response.type !== "null") {
                if ((payloadName && response.properties[payloadName] && response.properties[payloadName].type === "array") ||
                        (response.type && response.type === "array")) {
                    isList = true;
                }
            }

            return isList;
        }
function (methodName) {
            var response = this.getResponseSchema(methodName),
                payloadName = this.getResponsePayloadName(methodName),
                isList = false;

            if (response.type !== "null") {
                if ((payloadName && response.properties[payloadName] && response.properties[payloadName].type === "array") ||
                        (response.type && response.type === "array")) {
                    isList = true;
                }
            }

            return isList;
        }
function ( methodName ) { var response = this . getResponseSchema ( methodName ) , payloadName = this . getResponsePayloadName ( methodName ) , isList = false ; if ( response . type !== "null" ) { if ( ( payloadName && response . properties [ payloadName ] && response . properties [ payloadName ] . type === "array" ) || ( response . type && response . type === "array" ) ) { isList = true ; } } return isList ; }
Returns whether the primary payload is a list, by checking for "array" type on the SMD.
Defaults to false if return type is JSONSchema "null" primitive type.
Returns whether the primary payload is a list by checking for array type on the SMD . Defaults to false if return type is JSONSchema null primitive type .