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 5f83a82 commit 5e5e697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
3 changes: 0 additions & 3 deletions models.gen.go

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

7 changes: 2 additions & 5 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -3232,7 +3232,7 @@
}
},
"post": {
"description": "Create new team API Key. This is useful in CI",
"description": "Create new team API Key.",
"operationId": "CreateTeamAPIKey",
"tags": [
"teams"
Expand All @@ -3249,20 +3249,17 @@
"type": "object",
"required": [
"expires_at",
"role",
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 255
},
"expires_at": {
"type": "string",
"format": "date-time"
},
"scope": {
"$ref": "#/components/schemas/APIKeyScope"
}
}
}
Expand Down

0 comments on commit 5e5e697

Please sign in to comment.