Skip to content

Commit 7885344

Browse files
authored
fix: Generate CloudQuery Go API Client from spec.json (#150)
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
1 parent 33fe0a6 commit 7885344

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

models.gen.go

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7889,23 +7889,26 @@
78897889
"description": "The number of rows used by the plugin in the calendar month."
78907890
},
78917891
"usd": {
7892+
"deprecated": true,
78927893
"type": "string",
78937894
"example": "43.95",
78947895
"description": "The USD amount used by the plugin in the calendar month, rounded to two decimal places.",
78957896
"x-go-name": "USD"
78967897
},
78977898
"remaining_usd": {
7899+
"deprecated": true,
78987900
"type": "string",
78997901
"example": "56.05",
79007902
"description": "The remaining USD amount in the plugin's quota for the calendar month.",
79017903
"x-go-name": "RemainingUSD"
79027904
},
79037905
"remaining_rows": {
7904-
"example": 1000000,
7906+
"deprecated": true,
7907+
"example": 1,
79057908
"type": "integer",
79067909
"format": "int64",
79077910
"minimum": 0,
7908-
"description": "The estimated number of rows remaining in the plugin's quota for the calendar month at the current price per row. This includes both free and paid rows up to the monthly limit defined for the plugin."
7911+
"description": "Deprecated - this field used to contain the estimated remaining rows but now returns 1 to indicate rows are remaining or 0 if there are no more remaining rows."
79097912
}
79107913
}
79117914
},

0 commit comments

Comments
 (0)