Skip to content

Commit

Permalink
Merge pull request #377 from openmeterio/upgrade-oapi-codegen
Browse files Browse the repository at this point in the history
chore: upgrade oapi-codegen to v2
  • Loading branch information
sagikazarmark authored Nov 1, 2023
2 parents 06e8220 + 7a9ab46 commit a981610
Show file tree
Hide file tree
Showing 7 changed files with 104 additions and 302 deletions.
98 changes: 49 additions & 49 deletions api/api.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
//go:generate go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen --config=codegen.yaml ./openapi.yaml
//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen --config=codegen.yaml ./openapi.yaml
package api
98 changes: 49 additions & 49 deletions api/client/go/client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 1 addition & 5 deletions api/client/go/client.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,2 @@
//go:generate go run github.com/deepmap/oapi-codegen/cmd/oapi-codegen --config=codegen.yaml ../../openapi.yaml
//go:generate go run github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen --config=codegen.yaml ../../openapi.yaml
package openmeter

import (
_ "github.com/deepmap/oapi-codegen/pkg/runtime"
)
Loading

0 comments on commit a981610

Please sign in to comment.