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

Standalone gateway package #1239

Merged
merged 13 commits into from
Apr 25, 2020
Prev Previous commit
Next Next commit
change default to false
  • Loading branch information
ssetin committed Apr 24, 2020
commit 7df1968693bd787b7eade2068b0cb45956ec7ab5
4 changes: 0 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,4 @@ require (
google.golang.org/grpc v1.27.1
google.golang.org/protobuf v1.21.0
gopkg.in/yaml.v2 v2.2.3 // indirect
)

replace (
github.com/grpc-ecosystem/grpc-gateway => github.com/ssetin/grpc-gateway v1.14.5-0.20200423094201-29bee48031b7
)
2 changes: 1 addition & 1 deletion protoc-gen-grpc-gateway/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
repeatedPathParamSeparator = flag.String("repeated_path_param_separator", "csv", "configures how repeated fields should be split. Allowed values are `csv`, `pipes`, `ssv` and `tsv`.")
allowPatchFeature = flag.Bool("allow_patch_feature", true, "determines whether to use PATCH feature involving update masks (using google.protobuf.FieldMask).")
allowColonFinalSegments = flag.Bool("allow_colon_final_segments", false, "determines whether colons are permitted in the final segment of a path")
standalone = flag.Bool("standalone", true, "generates standalone gateway package, which imports target service")
standalone = flag.Bool("standalone", false, "generates standalone gateway package, which imports target service")
ssetin marked this conversation as resolved.
Show resolved Hide resolved
versionFlag = flag.Bool("version", false, "print the current version")
)

Expand Down