formatMethodDefinitions(methods = {}) {
        return Object.entries(methods)
            .reduce((newDefinitions, [methodName, methodDefinition]) => {
                // eslint-disable-next-line no-param-reassign
                newDefinitions[methodName] = this._formatMethodDefinition(methodDefinition);
                return newDefinitions;
            }, {});
    }
/**
     * Consumes additional configuration on the remote-method definition's accepts property to be
     * suitable for remote-services.
     *
     * @param {Object} methods
     * @return {Object}
     */
Consumes additional configuration on the remote-method definition's accepts property to be
suitable for remote-services.

@param {Object} methods
@return {Object}
Consumes additional configuration on the remote - method definition ' s accepts property to be suitable for remote - services . @param { Object } methods @return { Object }
formatMethodDefinitions(methods = {}) {
        return Object.entries(methods)
            .reduce((newDefinitions, [methodName, methodDefinition]) => {
                newDefinitions[methodName] = this._formatMethodDefinition(methodDefinition);
                return newDefinitions;
            }, {});
    }
formatMethodDefinitions ( methods = { } ) { return Object . entries ( methods ) . reduce ( ( newDefinitions , [ methodName , methodDefinition ] ) => { newDefinitions [ methodName ] = this . _formatMethodDefinition ( methodDefinition ) ; return newDefinitions ; } , { } ) ; }
Consumes additional configuration on the remote-method definition's accepts property to be
 suitable for remote-services.
Consumes additional configuration on the remote - method definition ' s accepts property to be suitable for remote - services .
// eslint-disable-next-line no-param-reassign