Open talpa opened 4 years ago
Hi I'm facing the same issue as well, if there any solution to this?
Can you provide more details? i.e. what are you trying to accomplish, what does your prototool.yaml
look like, etc.
`syntax = "proto3";
package auth;
import "google/api/annotations.proto"; import "google/protobuf/empty.proto"; import "protoc-gen-swagger/options/annotations.proto"; import "validate/validate.proto"; import "google/protobuf/timestamp.proto";
// Auth service definition. service Auth { ....... `
This would cause:
prototool descriptor-set --json auth.proto {"filename":"auth.proto","line":7,"column":1,"message":"Import \"google/api/annotations.proto\" was not found or had errors."} {"filename":"auth.proto","line":9,"column":1,"message":"Import \"protoc-gen-swagger/options/annotations.proto\" was not found or had errors."} {"filename":"auth.proto","line":10,"column":1,"message":"Import \"validate/validate.proto\" was not found or had errors."} {"filename":"auth.proto","line":173,"column":3,"message":"\"user.UserSimpleProfile\" is not defined."} {"filename":"auth.proto","line":202,"column":3,"message":"\"user.UserSimpleProfile\" is not defined."}
Hi I try test prototool.yaml examle with my proto and I have this result for this import "google/api/annotations.proto"; thanks for help Ales