Skip to content

Commit a6b0739

Browse files
authored
chore: skip generating integrations:v1 as it fails generation (#1793)
I have emailed the support channels and restore this API once it starts having a valid format again.
1 parent 7bd17b3 commit a6b0739

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

google-api-go-generator/gen.go

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ var (
6666
errNoDoc = errors.New("could not read discovery doc")
6767
)
6868

69+
// skipAPIGeneration is a set of APIs to not generate when generating all clients.
70+
var skipAPIGeneration = map[string]bool{
71+
"sql:v1beta4": true,
72+
"integrations:v1": true,
73+
}
74+
6975
// API represents an API to generate, as well as its state while it's
7076
// generating.
7177
type API struct {
@@ -122,11 +128,6 @@ func (e *compileError) Error() string {
122128
return fmt.Sprintf("API %s failed to compile:\n%v", e.api.ID, e.output)
123129
}
124130

125-
// skipAPIGeneration is a set of APIs to not generate when generating all clients.
126-
var skipAPIGeneration = map[string]bool{
127-
"sql:v1beta4": true,
128-
}
129-
130131
func main() {
131132
flag.Parse()
132133

0 commit comments

Comments
 (0)