Skip to content

Throw error for no common packages [containeranalysis/v1beta1] #675

@xiaozhenliu-gg5

Description

@xiaozhenliu-gg5

For containeranalysis/v1beta1 it requires package grafeas/.*/*.proto and google.devtools.containeranalysis.v1beta1, it's taken as error when parsing proto packages.

Error: Protos provided have different proto packages.
    at new Naming (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/schema/naming.js:28:19)
    at new API (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/schema/api.js:25:23)
    at Generator.buildAPIObject (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/generator.js:116:21)
    at Generator.generate (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/generator.js:130:26)
    at main (/usr/local/lib/node_modules/@google-cloud/gapic-generator/build/src/cli.js:27:21)

Reference: typescript/src/schema/naming.ts

Metadata

Metadata

Labels

🚨This issue needs some love.triage meI really want to be triaged.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions