Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#27)
Browse files Browse the repository at this point in the history
This PR was created by a scheduled workflow to generate the CloudQuery Go API Client from `spec.json`
  • Loading branch information
cq-bot committed Oct 7, 2023
1 parent 3d580d6 commit 20fff2c
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 8 deletions.
8 changes: 8 additions & 0 deletions client.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 23 additions & 5 deletions models.gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

54 changes: 51 additions & 3 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,9 @@
"official": true,
"short_description": "Sync data from AWS to any destination",
"repository": "https://github.com/cloudquery/cloudquery",
"tier": "free"
"tier": "paid",
"usd_per_row": "0.00123",
"free_rows_per_month": 10000
}
]
},
Expand Down Expand Up @@ -288,6 +290,9 @@
"404": {
"$ref": "#/components/responses/NotFound"
},
"422": {
"$ref": "#/components/responses/UnprocessableEntity"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
Expand Down Expand Up @@ -1443,7 +1448,9 @@
"official": true,
"short_description": "Sync data from AWS to any destination",
"repository": "https://github.com/cloudquery/cloudquery",
"tier": "free"
"tier": "paid",
"usd_per_row": "0.00123",
"free_rows_per_month": 10000
}
]
},
Expand Down Expand Up @@ -2596,6 +2603,19 @@
"public": {
"description": "Whether the plugin is listed in the CloudQuery Hub. If false, the plugin will not be shown in the CloudQuery Hub and will only be visible to members of the plugin's team.",
"type": "boolean"
},
"usd_per_row": {
"type": "string",
"pattern": "^\\d+(?:\\.\\d{1,10})?$",
"description": "The price per row in USD. This is used to calculate the price of a sync.",
"example": "0.0001",
"x-go-name": "USDPerRow"
},
"free_rows_per_month": {
"type": "integer",
"format": "int64",
"description": "The number of rows that can be synced for free each month.",
"example": 1000
}
},
"required": [
Expand All @@ -2608,7 +2628,9 @@
"display_name",
"official",
"short_description",
"tier"
"tier",
"usd_per_row",
"free_rows_per_month"
],
"title": "CloudQuery Plugin",
"type": "object"
Expand Down Expand Up @@ -2683,6 +2705,19 @@
"type": "string",
"description": "URL to the plugin's logo. This will be shown in the CloudQuery Hub. This must point to https://images.cloudquery.io/...",
"example": "https://images.cloudquery.io/logos/aws.png"
},
"usd_per_row": {
"type": "string",
"pattern": "^\\d+(?:\\.\\d{1,10})?$",
"description": "The price per row in USD. This is used to calculate the price of a sync.",
"example": "0.0001",
"x-go-name": "USDPerRow"
},
"free_rows_per_month": {
"type": "integer",
"format": "int64",
"description": "The number of rows that can be synced for free each month.",
"example": 1000
}
}
},
Expand Down Expand Up @@ -2749,6 +2784,19 @@
"public": {
"type": "boolean",
"description": "If plugin is not public, it won't be visible to other teams in the CloudQuery Hub."
},
"usd_per_row": {
"type": "string",
"pattern": "^\\d+(?:\\.\\d{1,10})?$",
"description": "The price per row in USD. This is used to calculate the price of a sync.",
"example": "0.0001",
"x-go-name": "USDPerRow"
},
"free_rows_per_month": {
"type": "integer",
"format": "int64",
"description": "The number of rows that can be synced for free each month.",
"example": 1000
}
}
},
Expand Down

0 comments on commit 20fff2c

Please sign in to comment.