blob: be9f4bd074cc050b3bd521b31d68af4bd9c371e0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
syntax = "proto3";
import "google/api/annotations.proto";
import "google/protobuf/empty.proto";
// This is just a sample proto for demonstrating how to use this library.
//
// There's nothing "fancy" here.
package com.jsonator.v1;
service SampleService {
rpc RandomSample(google.protobuf.Empty) returns (Sample) {
option (google.api.http).get = "/v1/sample";
}
}
message Sample {
int64 id = 1;
}
|