Skip to content

Commit

Permalink
chore: skip generating integrations:v1 as it fails generation (#1793)
Browse files Browse the repository at this point in the history
I have emailed the support channels and restore this API once it
starts having a valid format again.
  • Loading branch information
codyoss committed Dec 28, 2022
1 parent 7bd17b3 commit a6b0739
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions google-api-go-generator/gen.go
Expand Up @@ -66,6 +66,12 @@ var (
errNoDoc = errors.New("could not read discovery doc")
)

// skipAPIGeneration is a set of APIs to not generate when generating all clients.
var skipAPIGeneration = map[string]bool{
"sql:v1beta4": true,
"integrations:v1": true,
}

// API represents an API to generate, as well as its state while it's
// generating.
type API struct {
Expand Down Expand Up @@ -122,11 +128,6 @@ func (e *compileError) Error() string {
return fmt.Sprintf("API %s failed to compile:\n%v", e.api.ID, e.output)
}

// skipAPIGeneration is a set of APIs to not generate when generating all clients.
var skipAPIGeneration = map[string]bool{
"sql:v1beta4": true,
}

func main() {
flag.Parse()

Expand Down

0 comments on commit a6b0739

Please sign in to comment.