generated from VeeamHub/veeamhub-template
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from kastenhq/oapi-codegen/v2
Switch to oapi-codegen/v2
- Loading branch information
Showing
7 changed files
with
2,693 additions
and
2,203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
//go:build build_tools | ||
|
||
// While it's typically not valid to import a "main" package, it's being done | ||
// here in a file that's never compiled (note the "build_tools" build tag above) | ||
// in order to prevent `go mod tidy` from removing the module from the go.mod | ||
// and go.sum files. | ||
// | ||
// This is to ensure that when the Makefile generates the client, the generator | ||
// used is from the version of the module that is referenced by go.mod. | ||
|
||
package main | ||
|
||
import ( | ||
_ "github.com/deepmap/oapi-codegen/v2/cmd/oapi-codegen" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.