Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#25)
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 authored Oct 5, 2023
1 parent bf63b57 commit 5cb006d
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 48 deletions.
8 changes: 5 additions & 3 deletions models.gen.go

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

96 changes: 51 additions & 45 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3011,49 +3011,6 @@
"title": "CloudQuery Plugin Table",
"type": "object"
},
"PluginTableCreate": {
"additionalProperties": false,
"description": "CloudQuery Plugin Table",
"required": [
"name"
],
"properties": {
"description": {
"description": "Description of the table",
"type": "string",
"example": "AWS S3 Buckets"
},
"is_incremental": {
"description": "Whether the table is incremental",
"type": "boolean"
},
"name": {
"$ref": "#/components/schemas/PluginTableName"
},
"parent": {
"description": "Name of the parent table, if any",
"type": "string",
"example": "nil"
},
"relations": {
"description": "Names of the tables that depend on this table",
"items": {
"type": "string"
},
"type": "array",
"example": [
"aws_s3_bucket_cors_rules"
]
},
"title": {
"description": "Title of the table",
"type": "string",
"example": "AWS S3 Buckets"
}
},
"title": "CloudQuery Plugin Table",
"type": "object"
},
"PluginTableColumn": {
"additionalProperties": false,
"description": "CloudQuery Plugin Column",
Expand All @@ -3064,7 +3021,7 @@
"not_null",
"primary_key",
"type",
"is_unique"
"unique"
],
"properties": {
"description": {
Expand All @@ -3091,14 +3048,63 @@
"description": "Arrow Type of the column",
"type": "string"
},
"is_unique": {
"unique": {
"description": "Whether the column has a unique constraint",
"type": "boolean"
}
},
"title": "CloudQuery Plugin Table Column",
"type": "object"
},
"PluginTableCreate": {
"additionalProperties": false,
"description": "CloudQuery Plugin Table",
"required": [
"name"
],
"properties": {
"description": {
"description": "Description of the table",
"type": "string",
"example": "AWS S3 Buckets"
},
"is_incremental": {
"description": "Whether the table is incremental",
"type": "boolean"
},
"name": {
"$ref": "#/components/schemas/PluginTableName"
},
"parent": {
"description": "Name of the parent table, if any",
"type": "string",
"example": "nil"
},
"relations": {
"description": "Names of the tables that depend on this table",
"items": {
"type": "string"
},
"type": "array",
"example": [
"aws_s3_bucket_cors_rules"
]
},
"title": {
"description": "Title of the table",
"type": "string",
"example": "AWS S3 Buckets"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PluginTableColumn"
}
}
},
"title": "CloudQuery Plugin Table",
"type": "object"
},
"PluginTableDetails": {
"additionalProperties": false,
"required": [
Expand Down

0 comments on commit 5cb006d

Please sign in to comment.