Skip to content

Commit 02fbe95

Browse files
authored
fix: Use json_name for proto fields (google#4232)
google#4220 (comment) This PR updates the `osv-schema` submodule to a version that uses the `json_name` option for all snake_case fields in the Protocol Buffer definitions. This PR also adds `json_name` options to API related protos and then re-generates the Python and Go code.
1 parent 9230a5f commit 02fbe95

13 files changed

Lines changed: 155 additions & 150 deletions

bindings/go/internal/api/importfinding.pb.go

Lines changed: 10 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bindings/go/internal/api/osv_service_v1.pb.go

Lines changed: 30 additions & 30 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gcp/api/importfinding_pb2.py

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)