diff --git a/README.md b/README.md index a8c83bfe971..05d46f49e6f 100644 --- a/README.md +++ b/README.md @@ -277,7 +277,7 @@ Make sure that your `$GOBIN` is in your `$PATH`. protoc -I . --openapiv2_out ./gen/openapiv2 --openapiv2_opt logtostderr=true your/service/v1/your_service.proto ``` - Note that this plugin also supports generating swagger definitions for unannotated methods; use the `generate_unbound_methods` option to enable this. + Note that this plugin also supports generating OpenAPI definitions for unannotated methods; use the `generate_unbound_methods` option to enable this. ## Video intro @@ -312,18 +312,6 @@ through protoc using one of 2 patterns: --openapiv2_opt logtostderr=true --openapiv2_opt repeated_path_param_separator=ssv ``` -* using additional `--_opt` parameters: `--_opt=[,]*` - -```sh ---grpc-gateway_opt logtostderr=true,repeated_path_param_separator=ssv -# or separately ---grpc-gateway_opt logtostderr=true --grpc-gateway_opt repeated_path_param_separator=ssv - ---swagger_opt logtostderr=true,repeated_path_param_separator=ssv -# or separately ---swagger_opt logtostderr=true --swagger_opt repeated_path_param_separator=ssv -``` - `protoc-gen-grpc-gateway` supports custom mapping from Protobuf `import` to Golang import paths. They are compatible with [the parameters with the same names in `protoc-gen-go`](https://github.com/golang/protobuf#parameters).