Skip to content

Commit

Permalink
using v2 buf schema
Browse files Browse the repository at this point in the history
  • Loading branch information
logica0419 committed Aug 30, 2024
1 parent eb0ad52 commit 8d69938
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 16 deletions.
7 changes: 0 additions & 7 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,10 @@ tasks:
desc: bufの初期化
internal: true
deps:
- task: check-binary
vars:
BINARY: go
INSTALL_DOC: https://go.dev/doc/install
- task: check-binary
vars:
BINARY: buf
INSTALL_DOC: https://buf.build/docs/installation
cmds:
- go install google.golang.org/protobuf/cmd/[email protected]
- go install connectrpc.com/connect/cmd/[email protected]

init-oapi:
desc: OpenAPI Generatorの初期化
Expand Down
1 change: 1 addition & 0 deletions dev/cspell/dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ phpmyadmin
proto
protobuf
protoc
protocolbuffers
protovalidate
signin
signout
Expand Down
4 changes: 2 additions & 2 deletions proto/buf.gen-backend.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: v2
plugins:
- local: protoc-gen-go
- remote: buf.build/protocolbuffers/go
out: ../backend/internal/proto
opt: paths=source_relative
- local: protoc-gen-connect-go
- remote: buf.build/connectrpc/go
out: ../backend/internal/proto
opt: paths=source_relative
10 changes: 4 additions & 6 deletions proto/buf.lock
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
# Generated by buf. DO NOT EDIT.
version: v1
version: v2
deps:
- remote: buf.build
owner: bufbuild
repository: protovalidate
commit: e097f827e65240ac9fd4b1158849a8fc
digest: shake256:f19252436fd9ded945631e2ffaaed28247a92c9015ccf55ae99db9fb3d9600c4fdb00fd2d3bd7701026ec2fd4715c5129e6ae517c25a59ba690020cfe80bf8ad
- name: buf.build/bufbuild/protovalidate
commit: a6c49f84cc0f4e038680d390392e2ab0
digest: b5:e968392e88ff7915adcbd1635d670b45bff8836ec2415d81fc559ca5470a695dbdc30030bad8bc5764647c731079e9e7bba0023ea25c4e4a1672a7d2561d4a19
2 changes: 1 addition & 1 deletion proto/buf.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: v1
version: v2
deps:
- buf.build/bufbuild/protovalidate
breaking:
Expand Down

0 comments on commit 8d69938

Please sign in to comment.