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 Oct 23, 2023
1 parent 92b90f9 commit ffe150f
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 1 deletion.
8 changes: 8 additions & 0 deletions client.gen.go

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

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

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

11 changes: 10 additions & 1 deletion spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3223,6 +3223,9 @@
"401": {
"$ref": "#/components/responses/RequiresAuthentication"
},
"404": {
"$ref": "#/components/responses/NotFound"
},
"500": {
"$ref": "#/components/responses/InternalError"
}
Expand Down Expand Up @@ -4786,7 +4789,8 @@
"required": [
"name",
"scope",
"expires_at"
"expires_at",
"expired"
],
"properties": {
"name": {
Expand All @@ -4812,6 +4816,11 @@
"format": "date-time",
"example": "2017-07-14T16:53:42Z"
},
"expired": {
"type": "boolean",
"description": "Whether the API key has expired or not",
"example": false
},
"scope": {
"$ref": "#/components/schemas/APIKeyScope"
}
Expand Down

0 comments on commit ffe150f

Please sign in to comment.