Skip to content

Commit

Permalink
tweak the protopath to generate code in the correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
hugowetterberg committed Jan 10, 2025
1 parent dabfe08 commit 65c1d8a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion twirp/twirp.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ func generateService(name string) error {
"--twirp_out=.",
"--twirp_opt=paths=source_relative",
"--openapi3_out=./docs",
"--proto_path", protoRoot,
"--proto_path=.",
fmt.Sprintf(
"--openapi3_opt=application=%s,version=%s",
name, version,
Expand Down

0 comments on commit 65c1d8a

Please sign in to comment.