Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

api annotation placeholder character case #1207

Closed
vtolstov opened this issue Apr 12, 2020 · 1 comment
Closed

api annotation placeholder character case #1207

vtolstov opened this issue Apr 12, 2020 · 1 comment

Comments

@vtolstov
Copy link

does grpc-gateway have rules for path syntax in proto annotations?
all examples have lowercase {uuid}/{name} or so if request struct have SomeComelCase field, in which case i need to specify placeholder in path ?
Thanks!

@johanbrandhorst
Copy link
Collaborator

I think it just has to match the field name directly. Note that it is standard protobuf practice to use snake_case for field names and it may break assumptions somewhere.

If that doesn't work, please raise a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants