summaryrefslogtreecommitdiff
path: root/tests/plugins/grpc/testdata/php_namespace/service.proto
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2021-09-07 18:12:26 +0300
committerValery Piashchynski <[email protected]>2021-09-07 18:12:26 +0300
commit2f41909aeb6a01ae1a0b5ebabe9a9afc1360744a (patch)
tree9609019ad2ba4b6ae3a241aa5e6f68872b89feaf /tests/plugins/grpc/testdata/php_namespace/service.proto
parent6749db4a2d39fa70b426bcf50edf66a176c07f57 (diff)
Initial commit for the GRPC plugin
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'tests/plugins/grpc/testdata/php_namespace/service.proto')
-rw-r--r--tests/plugins/grpc/testdata/php_namespace/service.proto15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/plugins/grpc/testdata/php_namespace/service.proto b/tests/plugins/grpc/testdata/php_namespace/service.proto
new file mode 100644
index 00000000..a3bfa3c0
--- /dev/null
+++ b/tests/plugins/grpc/testdata/php_namespace/service.proto
@@ -0,0 +1,15 @@
+syntax = "proto3";
+
+package testPhpNamespace;
+
+option php_namespace = "Test\\CustomNamespace";
+
+service Service {
+ rpc SimpleMethod (SimpleMessage) returns (SimpleMessage) {
+ }
+}
+
+message SimpleMessage {
+ int32 id = 1;
+ string name = 2;
+} \ No newline at end of file