version: v2
plugins:
  - remote: buf.build/protocolbuffers/go:v1.35.1
    out: .
    opt:
      - paths=source_relative
  - remote: buf.build/grpc/go:v1.5.1
    out: .
    opt:
      - paths=source_relative
      - require_unimplemented_servers=false
  - local: protoc-gen-grpc-gateway
    out: .
    opt:
      - paths=source_relative
      - allow_repeated_fields_in_body=true
  - local: protoc-gen-openapiv2
    out: .
    opt:
      - allow_repeated_fields_in_body=true
