Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json (#54)
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 27, 2023
1 parent a67bcba commit 8b970be
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client.gen.go

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

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

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

17 changes: 16 additions & 1 deletion spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1218,7 +1218,7 @@
"properties": {
"items": {
"items": {
"$ref": "#/components/schemas/Addon"
"$ref": "#/components/schemas/ListAddon"
},
"type": "array",
"example": [
Expand Down Expand Up @@ -4179,6 +4179,21 @@
"title": "CloudQuery Addon",
"type": "object"
},
"ListAddon": {
"allOf": [
{
"$ref": "#/components/schemas/Addon"
},
{
"type": "object",
"properties": {
"latest_version": {
"$ref": "#/components/schemas/VersionName"
}
}
}
]
},
"AddonCreate": {
"additionalProperties": false,
"description": "CloudQuery AddonCreate",
Expand Down

0 comments on commit 8b970be

Please sign in to comment.