Skip to content
This repository has been archived by the owner on Jun 20, 2024. It is now read-only.

Commit

Permalink
Merge pull request #68 from primevprotocol/docs.0
Browse files Browse the repository at this point in the history
feat: add grpc gateway and openapi specs
  • Loading branch information
aloknerurkar authored Oct 25, 2023
2 parents a0da191 + 3286346 commit 58dfb33
Show file tree
Hide file tree
Showing 16 changed files with 1,135 additions and 139 deletions.
12 changes: 12 additions & 0 deletions buf.gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,15 @@ plugins:
- plugin: buf.build/grpc/go
out: gen/go
opt: paths=source_relative
- plugin: buf.build/grpc-ecosystem/gateway
out: gen/go
opt:
- paths=source_relative
- allow_repeated_fields_in_body=true
- plugin: buf.build/grpc-ecosystem/openapiv2
out: gen/openapi
opt:
- disable_service_tags=true
- allow_repeated_fields_in_body=true
- output_format=yaml
- omit_enum_default_value=true
13 changes: 13 additions & 0 deletions buf.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Generated by buf. DO NOT EDIT.
version: v1
deps:
- remote: buf.build
owner: googleapis
repository: googleapis
commit: 28151c0d0a1641bf938a7672c500e01d
digest: shake256:49215edf8ef57f7863004539deff8834cfb2195113f0b890dd1f67815d9353e28e668019165b9d872395871eeafcbab3ccfdb2b5f11734d3cca95be9e8d139de
- remote: buf.build
owner: grpc-ecosystem
repository: grpc-gateway
commit: 048ae6ff94ca4476b3225904b1078fad
digest: shake256:e5250bf2d999516c02206d757502b902e406f35c099d0e869dc3e4f923f6870fe0805a9974c27df0695462937eae90cd4d9db90bb9a03489412560baa74a87b6
4 changes: 4 additions & 0 deletions buf.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
version: v1
deps:
- buf.build/googleapis/googleapis
- buf.build/grpc-ecosystem/grpc-gateway
150 changes: 117 additions & 33 deletions gen/go/rpc/builderapi/v1/builderapi.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 58dfb33

Please sign in to comment.