Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#219)
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 Aug 15, 2024
1 parent 877306f commit c9ba02b
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 15 deletions.
11 changes: 11 additions & 0 deletions client.gen.go

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

34 changes: 19 additions & 15 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"version" : "1.0.0"
},
"servers" : [ {
"url" : "https://api.cloudquery.io"
"url" : "https://api.cloudquery.io",
"x-internal" : false
} ],
"security" : [ {
"bearerAuth" : [ ]
Expand Down Expand Up @@ -61,6 +62,9 @@
"responses" : {
"200" : {
"description" : "Response"
},
"500" : {
"$ref" : "#/components/responses/InternalError"
}
},
"security" : [ ],
Expand Down Expand Up @@ -6395,19 +6399,6 @@
}
},
"schemas" : {
"ImageURL" : {
"properties" : {
"upload_url" : {
"example" : "https://cloudquery.io/api/v1/upload/1234567890abcdef1234567890abcdef",
"type" : "string"
},
"download_url" : {
"example" : "https://cloudquery.io/api/v1/download/1234567890abcdef1234567890abcdef",
"type" : "string"
}
},
"required" : [ "download_url", "upload_url" ]
},
"BasicError" : {
"additionalProperties" : false,
"description" : "Basic Error",
Expand All @@ -6422,6 +6413,19 @@
"required" : [ "message", "status" ],
"title" : "Basic Error"
},
"ImageURL" : {
"properties" : {
"upload_url" : {
"example" : "https://cloudquery.io/api/v1/upload/1234567890abcdef1234567890abcdef",
"type" : "string"
},
"download_url" : {
"example" : "https://cloudquery.io/api/v1/download/1234567890abcdef1234567890abcdef",
"type" : "string"
}
},
"required" : [ "download_url", "upload_url" ]
},
"TeamName" : {
"description" : "The unique name for the team.",
"example" : "cloudquery",
Expand Down Expand Up @@ -8564,7 +8568,7 @@
"example" : "Human Readable Name",
"maxLength" : 255,
"minLength" : 1,
"pattern" : "^[a-zA-Z\\p{L}][a-zA-Z\\p{L} \\-']*$",
"pattern" : "^[a-zA-Z\\p{L}\\p{N}_][a-zA-Z\\p{L}\\p{N}_ \\-']*$",
"type" : "string"
},
"PromoteSyncSourceTestConnection" : {
Expand Down

0 comments on commit c9ba02b

Please sign in to comment.