Skip to content

Commit 8aa1edc

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

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

models.gen.go

Lines changed: 15 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: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1922,6 +1922,9 @@
19221922
"description": "The team's display name",
19231923
"minLength": 1,
19241924
"maxLength": 255
1925+
},
1926+
"plan": {
1927+
"$ref": "#/components/schemas/TeamPlan"
19251928
}
19261929
}
19271930
}
@@ -4633,6 +4636,14 @@
46334636
"title": "CloudQuery Addon Asset",
46344637
"type": "object"
46354638
},
4639+
"TeamPlan": {
4640+
"description": "The plan the team is on",
4641+
"type": "string",
4642+
"enum": [
4643+
"free",
4644+
"paid"
4645+
]
4646+
},
46364647
"Team": {
46374648
"additionalProperties": false,
46384649
"description": "CloudQuery Team",
@@ -4645,6 +4656,9 @@
46454656
"name": {
46464657
"$ref": "#/components/schemas/TeamName"
46474658
},
4659+
"plan": {
4660+
"$ref": "#/components/schemas/TeamPlan"
4661+
},
46484662
"display_name": {
46494663
"description": "The team's display name",
46504664
"maxLength": 255,

0 commit comments

Comments
 (0)