Do not use proto casing in v1alpha1 API JSON fields (#8988)

This commit is contained in:
Radosław Kapka 2021-06-04 10:03:40 +02:00 committed by GitHub
parent dd10a3ab5d
commit 1ea042dd6e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -122,7 +122,6 @@ func (g *Gateway) Start() {
gwruntime.WithMarshalerOption(gwruntime.MIMEWildcard, &gwruntime.HTTPBodyMarshaler{
Marshaler: &gwruntime.JSONPb{
MarshalOptions: protojson.MarshalOptions{
UseProtoNames: true,
EmitUnpopulated: true,
},
UnmarshalOptions: protojson.UnmarshalOptions{