https://github.com/roeap/buf-plugins
Plugins for remote code generation in the Buf Schema Registry
https://github.com/roeap/buf-plugins
buf-schema-registry grpc protobuf protocol-buffers
Last synced: 2 months ago
JSON representation
Plugins for remote code generation in the Buf Schema Registry
- Host: GitHub
- URL: https://github.com/roeap/buf-plugins
- Owner: roeap
- Created: 2022-04-29T23:01:01.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-19T13:35:55.000Z (over 2 years ago)
- Last Synced: 2025-01-28T15:15:42.751Z (4 months ago)
- Topics: buf-schema-registry, grpc, protobuf, protocol-buffers
- Language: Dockerfile
- Homepage:
- Size: 58.6 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# buf-plugins
This repository contains some useful (at least for me :)) modules and plugins for use with
the [buf schema registry](https://buf.build).An example setup can be found in the `example` folder.
## python-beterproto
Based on the [python-betterproto](https://github.com/danielgtaylor/python-betterproto) plugin.
## jsonschema
Based on the [protoc-gen-jsonschema](https://github.com/chrusty/protoc-gen-jsonschema) plugin.
## graphql
Based on the [protoc-gen-graphql](https://github.com/martinxsliu/protoc-gen-graphql) plugin.
## Example `buf.gen.yaml`
```yaml
version: v1
plugins:
- remote: buf.build/robstar/plugins/python-betterproto:v2.0.0-1
out: gen/python
- remote: buf.build/robstar/plugins/jsonschema:v1.3.9
out: gen/jsonschema
- remote: buf.build/robstar/plugins/graphql:v0.1
out: gen/graphql
```