Skip to content

Commit

Permalink
Fix go run for oapi-codegen
Browse files Browse the repository at this point in the history
  • Loading branch information
SmilyOrg committed Nov 25, 2024
1 parent 3f6a92e commit 83bace2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ import (
"photofield/tag"
)

//go:generate oapi-codegen -generate=types,chi-server -package=openapi -o internal/openapi/api.gen.go api.yaml
//go:generate go run github.com/deepmap/oapi-codegen/cmd/[email protected] -generate=types,chi-server -package=openapi -o internal/openapi/api.gen.go api.yaml

//go:embed defaults.yaml
var defaultsYaml []byte
Expand Down

0 comments on commit 83bace2

Please sign in to comment.