Skip to content

Commit

Permalink
fix: Generate CloudQuery Go API Client from spec.json
Browse files Browse the repository at this point in the history
  • Loading branch information
cq-bot authored Nov 14, 2023
1 parent 9bd54da commit 9f94f05
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
15 changes: 15 additions & 0 deletions models.gen.go

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

14 changes: 14 additions & 0 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -1922,6 +1922,9 @@
"description": "The team's display name",
"minLength": 1,
"maxLength": 255
},
"plan": {
"$ref": "#/components/schemas/TeamPlan"
}
}
}
Expand Down Expand Up @@ -4633,6 +4636,14 @@
"title": "CloudQuery Addon Asset",
"type": "object"
},
"TeamPlan": {
"description": "The plan the team is on",
"type": "string",
"enum": [
"free",
"paid"
]
},
"Team": {
"additionalProperties": false,
"description": "CloudQuery Team",
Expand All @@ -4645,6 +4656,9 @@
"name": {
"$ref": "#/components/schemas/TeamName"
},
"plan": {
"$ref": "#/components/schemas/TeamPlan"
},
"display_name": {
"description": "The team's display name",
"maxLength": 255,
Expand Down

0 comments on commit 9f94f05

Please sign in to comment.