mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-06-17 06:48:24 +00:00
Annotate gRPC methods for REST interface gen.
The option(google.api.http) annotations can be used by for example https://github.com/grpc-ecosystem/grpc-gateway to generate a gRPC to REST proxy.
This commit is contained in:
2
api/grpc-web/api/application_pb.js
vendored
2
api/grpc-web/api/application_pb.js
vendored
@ -15,6 +15,8 @@ var jspb = require('google-protobuf');
|
||||
var goog = jspb;
|
||||
var global = Function('return this')();
|
||||
|
||||
var google_api_annotations_pb = require('../google/api/annotations_pb.js');
|
||||
goog.object.extend(proto, google_api_annotations_pb);
|
||||
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
||||
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
||||
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js');
|
||||
|
Reference in New Issue
Block a user