|
|
@ -125,7 +125,7 @@ exports.getProtobufServiceAttrs = function getProtobufServiceAttrs(service) { |
|
|
|
var prefix = '/' + fullyQualifiedName(service) + '/'; |
|
|
|
var prefix = '/' + fullyQualifiedName(service) + '/'; |
|
|
|
return _.object(_.map(service.children, function(method) { |
|
|
|
return _.object(_.map(service.children, function(method) { |
|
|
|
return [_.camelCase(method.name), { |
|
|
|
return [_.camelCase(method.name), { |
|
|
|
path: prefix + _.capitalize(method.name), |
|
|
|
path: prefix + method.name, |
|
|
|
requestStream: method.requestStream, |
|
|
|
requestStream: method.requestStream, |
|
|
|
responseStream: method.responseStream, |
|
|
|
responseStream: method.responseStream, |
|
|
|
requestSerialize: serializeCls(method.resolvedRequestType.build()), |
|
|
|
requestSerialize: serializeCls(method.resolvedRequestType.build()), |
|
|
|