Skip to content

Commit

Permalink
swagger: temporarily disabled grpc-gateway DefaultErrors
Browse files Browse the repository at this point in the history
Temporarily force-disabled errors definitions for generated Swagger defs
until we figure out the best approach to set them up and customize them.

Closes #81, refs #83
  • Loading branch information
utrack committed Mar 10, 2020
1 parent b71f9ec commit 2c9a7e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/protoc-gen-goclay/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ func main() {
}
reg.SetAllowDeleteBody(*allowDeleteBody)
reg.SetPrefix(*importPrefix)
reg.SetDisableDefaultErrors(true)
for k, v := range pkgMap {
reg.AddPkgMap(k, v)
}
Expand Down

0 comments on commit 2c9a7e3

Please sign in to comment.