Complete list of swagger options to protobuf file

Here is an example with many options that help generate proper swagger out of protofile.
Original URL — https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/examples/internal/proto/examplepb/a_bit_of_everything.proto.

More interesting articles on the topic:
https://grpc-ecosystem.github.io/grpc-gateway/docs/mapping/customizing_openapi_output/
https://github.com/grpc-ecosystem/grpc-gateway/blob/master/examples/internal/proto/examplepb/use_go_template.proto

Similar Posts

LEAVE A COMMENT