We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 346d8be commit 9d255e0Copy full SHA for 9d255e0
1 file changed
core/generator/gapic-generator-typescript/typescript/src/schema/api.ts
@@ -207,7 +207,14 @@ export class API {
207
.filter(proto => proto.fileToGenerate)
208
.reduce((retval, proto) => {
209
retval.push(
210
- ...Object.keys(proto.services).map(name => proto.services[name]),
+ ...Object.keys(proto.services)
211
+ .map(name => proto.services[name])
212
+ .filter(
213
+ service =>
214
+ (service.method && service.method.length > 0) ||
215
+ service.IAMPolicyMixin > 0 ||
216
+ service.LocationMixin > 0,
217
+ ),
218
);
219
return retval;
220
}, [] as ServiceDescriptorProto[])
0 commit comments