We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2647a10 commit bd9e84cCopy full SHA for bd9e84c
2 files changed
README.md
@@ -56,7 +56,7 @@ $ go get -tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen@latest
56
From there, each invocation of `oapi-codegen` would be used like so:
57
58
```go
59
-//go:generate go tool github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config cfg.yaml ../../api.yaml
+//go:generate go tool oapi-codegen -config cfg.yaml ../../api.yaml
60
```
61
62
## Prior to Go 1.24
examples/minimal-server/stdhttp-go-tool/api/generate.go
@@ -1,3 +1,3 @@
1
package api
2
3
0 commit comments