github.com/harvey-h-yu/prototool@v1.3.0/example/idl/uber/prototool.yaml (about)

     1  # if starting from scratch in development, run "make init example" to get/build the .gitignored files
     2  protoc:
     3    includes:
     4    # note vendor is .gitignored
     5    - ../../../vendor/github.com/grpc-ecosystem/grpc-gateway/third_party/googleapis
     6  lint:
     7    # run "prototool list-linters" to see the currently configured linters
     8    # add "exclude_ids" to ignore specific linter IDs for all files
     9    ignores:
    10      - id: REQUEST_RESPONSE_TYPES_IN_SAME_FILE
    11        files:
    12          - foo/foo.proto
    13      - id: REQUEST_RESPONSE_TYPES_UNIQUE
    14        files:
    15          - foo/foo.proto
    16  generate:
    17    go_options:
    18      import_path: github.com/uber/prototool/example/idl/uber
    19      extra_modifiers:
    20        google/api/annotations.proto: google.golang.org/genproto/googleapis/api/annotations
    21        google/api/http.proto: google.golang.org/genproto/googleapis/api/annotations
    22    plugins:
    23      - name: gogoslick
    24        type: gogo
    25        flags: plugins=grpc
    26        output: ../../gen/proto/go
    27      - name: yarpc-go
    28        type: gogo
    29        output: ../../gen/proto/go
    30        # note ../../gen/proto/java is .gitignored
    31      - name: java
    32        output: ../../gen/proto/java
    33      - name: grpc-gateway
    34        type: go
    35        output: ../../gen/proto/go