You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ x ] Update your copy of grpc-gateway to the latest version from github. with git fetch https://github.com/grpc-ecosystem/grpc-gateway master && git reset --hard FETCH_HEAD
[ x ] Delete the protoc-gen-grpc-gateway and protoc-gen-swagger binary from your PATH,
and install locally built binaries.
Bug reports:
Steps you follow to reproduce the error:
create a message with one uint64 field
create a service using the message
generate swagger doc for it
it lists the type as {type: string, format: uint64}
What did you expect to happen instead:
The swagger doc should list the type as {type: integer, format: int64, min: 0}
What's your theory on why it isn't working:
The well-known-type Uint64 is hardcoded to map to the result we currently see.
The text was updated successfully, but these errors were encountered:
This kind of thing has been discussed before at length: #438. Is this a fundamentally different issue? I will pre-emptively close this, but please let me know if I'm wrong.
Please follow the general troubleshooting steps first:
grpc-gateway
to the latest version from github. withgit fetch https://github.com/grpc-ecosystem/grpc-gateway master && git reset --hard FETCH_HEAD
protoc-gen-grpc-gateway
andprotoc-gen-swagger
binary from yourPATH
,and install locally built binaries.
Bug reports:
Steps you follow to reproduce the error:
{type: string, format: uint64}
What did you expect to happen instead:
The swagger doc should list the type as
{type: integer, format: int64, min: 0}
What's your theory on why it isn't working:
The well-known-type Uint64 is hardcoded to map to the result we currently see.
The text was updated successfully, but these errors were encountered: