I was looking at updating the oapi-codegen package in this project and found it difficult to run the existing code generation tool because the project expects the required binary to already be present in $GOBIN.
I've adopted the "tools.go" approach here, depending on the generation tool associated with the currently-used oapi-codegen package.
Change Summary
I was looking at updating the oapi-codegen package in this project and found it difficult to run the existing code generation tool because the project expects the required binary to already be present in
$GOBIN
. I've adopted the "tools.go" approach here, depending on the generation tool associated with the currently-used oapi-codegen package.PR Checklist