version: v2
plugins:
  - remote: buf.build/protocolbuffers/go
    out: ../service/gen/
    opt: paths=source_relative

  - remote: buf.build/connectrpc/go
    out: ../service/gen/
    opt: paths=source_relative

  - remote: buf.build/bufbuild/es
    out: ../frontend/resources/scripts/gen/

#  - local: ["go", "run", "github.com/sudorandom/protoc-gen-connect-openapi@latest"]
#    out: gen
#  - local: protoc-gen-openapiv2
#    out: reports/openapiv2
