Closed
Description
Please follow the general troubleshooting steps first:
- [ x ] Update your protoc to the latest version
- [ 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
andprotoc-gen-swagger
binary from yourPATH
,
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.
Metadata
Assignees
Labels
No labels