Skip to content

Commit ecfd659

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

File tree

2 files changed

+55
-23
lines changed

2 files changed

+55
-23
lines changed

models.gen.go

Lines changed: 36 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

spec.json

Lines changed: 19 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -527,7 +527,8 @@
527527
},
528528
"/plugins/{team_name}/{plugin_kind}/{plugin_name}/upcoming-price-changes": {
529529
"get": {
530-
"description": "List upcoming price changes for a given plugin. If the plugin has no upcoming price changes, an empty list is returned. At most one upcoming price change is returned.",
530+
"deprecated": true,
531+
"description": "DEPRECATED. Plugin prices are now managed by category. This endpoint will be removed in the near future and currently returns only empty data.",
531532
"operationId": "ListPluginUpcomingPriceChanges",
532533
"parameters": [
533534
{
@@ -584,7 +585,8 @@
584585
]
585586
},
586587
"post": {
587-
"description": "Create an upcoming plugin price change. If the plugin has no upcoming price change, a new one is created. If the plugin already has an upcoming price change, this call will fail. (Delete pending price changes with the appropriate delete call.) The effective date of the price change must be at least 8 days in the future.",
588+
"deprecated": true,
589+
"description": "DEPRECATED. Plugin prices are now managed by category. This endpoint will be removed in the near future and currently returns only empty data.",
588590
"operationId": "CreatePluginUpcomingPriceChange",
589591
"parameters": [
590592
{
@@ -638,7 +640,8 @@
638640
]
639641
},
640642
"delete": {
641-
"description": "Delete all pending plugin price changes.",
643+
"deprecated": true,
644+
"description": "DEPRECATED. Plugin prices are now managed by category. This endpoint will be removed in the near future and currently returns only empty data.",
642645
"operationId": "DeletePluginUpcomingPriceChanges",
643646
"parameters": [
644647
{
@@ -6303,7 +6306,7 @@
63036306
]
63046307
},
63056308
"PluginTier": {
6306-
"description": "Supported tiers for plugins",
6309+
"description": "Supported tiers for plugins.\n - free: Free tier, with no paid tables.\n - paid: Paid tier. These plugins may have paid tables, but can also have free tables. They require login to access.\n - open-core: This option is deprecated, please use either free or paid.\n",
63076310
"type": "string",
63086311
"enum": [
63096312
"free",
@@ -6380,16 +6383,18 @@
63806383
"type": "boolean"
63816384
},
63826385
"usd_per_row": {
6386+
"deprecated": true,
63836387
"type": "string",
63846388
"pattern": "^\\d+(?:\\.\\d{1,10})?$",
6385-
"description": "The price per row in USD. This is used to calculate the price of a sync.",
6389+
"description": "Deprecated. Refer to `price_category` instead.",
63866390
"example": "0.0001",
63876391
"x-go-name": "USDPerRow"
63886392
},
63896393
"free_rows_per_month": {
6394+
"deprecated": true,
63906395
"type": "integer",
63916396
"format": "int64",
6392-
"description": "The number of rows that can be synced for free each month.",
6397+
"description": "Deprecated. Refer to `price_category` instead.",
63936398
"example": 1000
63946399
},
63956400
"minimum_cloud_version": {
@@ -6516,16 +6521,18 @@
65166521
"example": "https://images.cloudquery.io/logos/aws.png"
65176522
},
65186523
"usd_per_row": {
6524+
"deprecated": true,
65196525
"type": "string",
65206526
"pattern": "^\\d+(?:\\.\\d{1,10})?$",
6521-
"description": "The price per row in USD. This is used to calculate the price of a sync.",
6527+
"description": "Deprecated. Use `price_category` instead.",
65226528
"example": "0.00001",
65236529
"x-go-name": "USDPerRow"
65246530
},
65256531
"free_rows_per_month": {
6532+
"deprecated": true,
65266533
"type": "integer",
65276534
"format": "int64",
6528-
"description": "The number of rows that can be synced for free each month.",
6535+
"description": "Deprecated. Use `price_category` instead.",
65296536
"example": 10000
65306537
}
65316538
}
@@ -6586,16 +6593,18 @@
65866593
"$ref": "#/components/schemas/PluginReleaseStageUpdate"
65876594
},
65886595
"usd_per_row": {
6596+
"deprecated": true,
65896597
"type": "string",
65906598
"pattern": "^\\d+(?:\\.\\d{1,10})?$",
6591-
"description": "The price per row in USD. This is used to calculate the price of a sync.",
6599+
"description": "Deprecated. Update `price_category` instead.",
65926600
"example": "0.0001",
65936601
"x-go-name": "USDPerRow"
65946602
},
65956603
"free_rows_per_month": {
6604+
"deprecated": true,
65966605
"type": "integer",
65976606
"format": "int64",
6598-
"description": "The number of rows that can be synced for free each month.",
6607+
"description": "Deprecated. Update `price_category` instead.",
65996608
"example": 1000
66006609
}
66016610
}

0 commit comments

Comments
 (0)