Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#121)
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 Feb 5, 2024
1 parent d89ea14 commit a4a1c08
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 14 deletions.
56 changes: 44 additions & 12 deletions client.gen.go

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

5 changes: 5 additions & 0 deletions models.gen.go

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

29 changes: 27 additions & 2 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -5487,6 +5487,14 @@
"syncs"
],
"parameters": [
{
"in": "header",
"name": "Accept",
"required": false,
"schema": {
"type": "string"
}
},
{
"$ref": "#/components/parameters/team_name"
},
Expand All @@ -5499,12 +5507,29 @@
],
"responses": {
"200": {
"description": "Chunked response logs for a sync run that is in progress.",
"description": "Response",
"content": {
"application/json": {
"schema": {
"additionalProperties": false,
"required": [
"location"
],
"properties": {
"location": {
"type": "string",
"format": "uri",
"description": "The location to download the sync run logs from"
}
},
"title": "Sync Run Logs",
"type": "object"
}
},
"text/plain": {
"schema": {
"type": "string",
"description": "A stream of logs for a sync run."
"description": "Chunked response logs for a sync run that is in progress."
}
}
}
Expand Down

0 comments on commit a4a1c08

Please sign in to comment.