summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/import/service.proto
diff options
context:
space:
mode:
Diffstat (limited to 'tests/plugins/grpc/testdata/import/service.proto')
-rw-r--r--tests/plugins/grpc/testdata/import/service.proto17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/plugins/grpc/testdata/import/service.proto b/tests/plugins/grpc/testdata/import/service.proto
new file mode 100644
index 00000000..5d888f09
--- /dev/null
+++ b/tests/plugins/grpc/testdata/import/service.proto
@@ -0,0 +1,17 @@
+syntax = "proto3";
+
+package import;
+
+import "import/sub/message.proto";
+
+service Service {
+ rpc SimpleMethod (Message) returns (Message) {
+ }
+
+ rpc ImportMethod (import.sub.Message) returns (import.sub.Message) {
+ }
+}
+
+message Message {
+ int64 id = 1;
+} \ No newline at end of file