Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Generate CloudQuery Go API Client from spec.json #214

Merged
merged 1 commit into from
Aug 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions models.gen.go

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

16 changes: 10 additions & 6 deletions spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -7719,9 +7719,10 @@
},
"UserName" : {
"description" : "The unique name for the user.",
"example" : "user",
"example" : "Sarah O'Connor",
"maxLength" : 255,
"pattern" : "^[a-z](-?[a-z0-9]+)+$",
"minLength" : 1,
"pattern" : "^[a-zA-Z\\p{L}][a-zA-Z\\p{L} \\-']*$",
"type" : "string"
},
"User" : {
Expand Down Expand Up @@ -9869,7 +9870,7 @@
"created_at" : "2017-07-14T16:53:42Z",
"email" : "[email protected]",
"id" : "12345678-1234-1234-1234-1234567890ab",
"name" : "user",
"name" : "Sarah O'Connor",
"updated_at" : "2017-07-14T16:53:42Z"
}
} ],
Expand Down Expand Up @@ -9997,9 +9998,7 @@
"additionalProperties" : { },
"properties" : {
"name" : {
"description" : "The user's name",
"maxLength" : 255,
"minLength" : 1
"$ref" : "#/components/schemas/UserName"
}
}
},
Expand Down Expand Up @@ -10236,6 +10235,11 @@
"description" : "ARN of role created by the user",
"type" : "string",
"x-go-name" : "RoleARN"
},
"external_id" : {
"description" : "External ID used for the role",
"type" : "string",
"x-go-name" : "ExternalID"
}
}
},
Expand Down
Loading