Skip to content

Commit a4a1c08

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

File tree

3 files changed

+76
-14
lines changed

3 files changed

+76
-14
lines changed

client.gen.go

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

models.gen.go

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

spec.json

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5487,6 +5487,14 @@
54875487
"syncs"
54885488
],
54895489
"parameters": [
5490+
{
5491+
"in": "header",
5492+
"name": "Accept",
5493+
"required": false,
5494+
"schema": {
5495+
"type": "string"
5496+
}
5497+
},
54905498
{
54915499
"$ref": "#/components/parameters/team_name"
54925500
},
@@ -5499,12 +5507,29 @@
54995507
],
55005508
"responses": {
55015509
"200": {
5502-
"description": "Chunked response logs for a sync run that is in progress.",
5510+
"description": "Response",
55035511
"content": {
5512+
"application/json": {
5513+
"schema": {
5514+
"additionalProperties": false,
5515+
"required": [
5516+
"location"
5517+
],
5518+
"properties": {
5519+
"location": {
5520+
"type": "string",
5521+
"format": "uri",
5522+
"description": "The location to download the sync run logs from"
5523+
}
5524+
},
5525+
"title": "Sync Run Logs",
5526+
"type": "object"
5527+
}
5528+
},
55045529
"text/plain": {
55055530
"schema": {
55065531
"type": "string",
5507-
"description": "A stream of logs for a sync run."
5532+
"description": "Chunked response logs for a sync run that is in progress."
55085533
}
55095534
}
55105535
}

0 commit comments

Comments
 (0)