How to output OpenApiV2/swagger in snake case with grpc-gateway?
type
status
date
slug
summary
tags
category
icon
password
Importance
Tweet
How to output OpenApiV2 /swagger with grpc-ecosysytem/grpc-gateway
The grpc-gateway OpenApi V2 (swagger) generator generates in the fields in camelCase by default (ref)
To generate in snake case if the field names are already written in snake case in the proto files.
Else this would just use the proto names for field names in whatever case they are already in.