lib/collections/CollectionOperationConfig.js
function(schema) {
    var _schema = schema.type === 'array' ? schema.items : schema

    if (!_.isNil(_schema.properties) && _schema.properties[this.idParameterName]) {
      _schema = _.clone(_schema)
      if (_schema.required) {
        _schema.required = _.difference(_schema.required, [this.idParameterName])
        if (_.isEmpty(_schema.required)) {
          delete _schema.required
        }
      }

      if (_schema.additionalProperties) {
        delete _schema.additionalProperties
      }

      if (schema.type === 'array') {
        schema = _.clone(schema)
        schema.items = _schema
      } else {
        schema = _schema
      }
    }

    return schema
  }
function(schema) {
    var _schema = schema.type === 'array' ? schema.items : schema

    if (!_.isNil(_schema.properties) && _schema.properties[this.idParameterName]) {
      _schema = _.clone(_schema)
      if (_schema.required) {
        _schema.required = _.difference(_schema.required, [this.idParameterName])
        if (_.isEmpty(_schema.required)) {
          delete _schema.required
        }
      }

      if (_schema.additionalProperties) {
        delete _schema.additionalProperties
      }

      if (schema.type === 'array') {
        schema = _.clone(schema)
        schema.items = _schema
      } else {
        schema = _schema
      }
    }

    return schema
  }
function ( schema ) { var _schema = schema . type === 'array' ? schema . items : schema if ( ! _ . isNil ( _schema . properties ) && _schema . properties [ this . idParameterName ] ) { _schema = _ . clone ( _schema ) if ( _schema . required ) { _schema . required = _ . difference ( _schema . required , [ this . idParameterName ] ) if ( _ . isEmpty ( _schema . required ) ) { delete _schema . required } } if ( _schema . additionalProperties ) { delete _schema . additionalProperties } if ( schema . type === 'array' ) { schema = _ . clone ( schema ) schema . items = _schema } else { schema = _schema } } return schema }
***************************************************************************
_unrequireIdPropertyFromSchema
*************************************************************************** _unrequireIdPropertyFromSchema