Skip to content

protoc-gen-endpoint is a protobuf plugin that allows generating extra information for google.api.http. It's somewhat specific. Caveat emptor.

License

Notifications You must be signed in to change notification settings

SermoDigital/protoc-gen-endpoint

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

protoc-gen-endpoint

protoc-gen-endpoint is a protobuf plugin that allows generating extra information for google.api.http.

Usage

service Server {
    rpc Foo(Bar) returns (Baz) {
        option (google.api.http) = {
            get: "/v1/foo"
        };
        option (proto.endpoint) = {
            unauthenticated: true
        };
    }
}

Once protoc-gen-endpoint is installed in $PATH, the program can be used with protoc via the flag: --endpoint_out

License

BSD 3 clause

About

protoc-gen-endpoint is a protobuf plugin that allows generating extra information for google.api.http. It's somewhat specific. Caveat emptor.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published