Skip to content

Commit

Permalink
chore: regenerate using speakeasy 1.423.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Oct 29, 2024
1 parent 2238daa commit 971395b
Show file tree
Hide file tree
Showing 248 changed files with 5,186 additions and 1,944 deletions.
452 changes: 357 additions & 95 deletions .speakeasy/gen.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .speakeasy/gen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
go:
version: 0.0.15
version: 0.1.2
additionalDependencies: {}
allowUnknownFieldsInWeakUnions: false
clientServerStatusCodesAsErrors: true
Expand Down
133 changes: 42 additions & 91 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,20 +46,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
})
if err != nil {

Expand Down Expand Up @@ -135,20 +128,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -185,20 +171,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
})
if err != nil {
log.Fatal(err)
Expand Down Expand Up @@ -307,20 +286,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
})
if err != nil {
log.Fatal(err)
Expand All @@ -333,12 +305,6 @@ func main() {
```
<!-- End Authentication [security] -->

<!-- Start Special Types [types] -->
## Special Types


<!-- End Special Types [types] -->

<!-- Start Summary [summary] -->
## Summary

Expand All @@ -358,7 +324,6 @@ For more information about the API: [Documentation for Kong Gateway and its APIs
* [Server Selection](#server-selection)
* [Custom HTTP Client](#custom-http-client)
* [Authentication](#authentication)
* [Special Types](#special-types)
<!-- End Table of Contents [toc] -->

<!-- Start Retries [retries] -->
Expand Down Expand Up @@ -389,20 +354,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
}, operations.WithRetries(
retry.Config{
Strategy: "backoff",
Expand Down Expand Up @@ -457,20 +415,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
})
if err != nil {
log.Fatal(err)
Expand Down
21 changes: 7 additions & 14 deletions USAGE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,13 @@ func main() {

ctx := context.Background()
res, err := s.ControlPlanes.ListControlPlanes(ctx, operations.ListControlPlanesRequest{
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
FilterNameEq: sdkkonnectgo.String("test"),
FilterName: sdkkonnectgo.String("test"),
FilterNameContains: sdkkonnectgo.String("test"),
FilterNameNeq: sdkkonnectgo.String("test"),
FilterIDEq: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterID: sdkkonnectgo.String("7f9fd312-a987-4628-b4c5-bb4f4fddd5f7"),
FilterIDOeq: sdkkonnectgo.String("some-value,some-other-value"),
FilterClusterTypeEq: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterType: sdkkonnectgo.String("CLUSTER_TYPE_CONTROL_PLANE"),
FilterClusterTypeNeq: sdkkonnectgo.String("test"),
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
PageSize: sdkkonnectgo.Int64(10),
PageNumber: sdkkonnectgo.Int64(1),
Filter: &components.ControlPlaneFilterParameters{
CloudGateway: sdkkonnectgo.Bool(true),
},
Labels: sdkkonnectgo.String("key:value,existCheck"),
Sort: sdkkonnectgo.String("name,created_at desc"),
})
if err != nil {
log.Fatal(err)
Expand Down
4 changes: 2 additions & 2 deletions docs/models/components/acl.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@

| Field | Type | Required | Description |
| ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- | ----------------------------------------------------------------- |
| `Consumer` | [*components.ACLConsumer](../../models/components/aclconsumer.md) | :heavy_minus_sign: | N/A |
| `CreatedAt` | **int64* | :heavy_minus_sign: | Unix epoch when the resource was created. |
| `Group` | **string* | :heavy_minus_sign: | N/A |
| `ID` | **string* | :heavy_minus_sign: | N/A |
| `Tags` | []*string* | :heavy_minus_sign: | N/A |
| `Consumer` | [*components.ACLConsumer](../../models/components/aclconsumer.md) | :heavy_minus_sign: | N/A |
| `Tags` | []*string* | :heavy_minus_sign: | N/A |
8 changes: 4 additions & 4 deletions docs/models/components/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description | Example |
| ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------- |
| `Name` | [components.RolesControlPlanesRolesAdminName](../../models/components/rolescontrolplanesrolesadminname.md) | :heavy_check_mark: | N/A | |
| `Description` | [components.Description](../../models/components/description.md) | :heavy_check_mark: | N/A | This role grants full write access to all entities within a control plane. |
| Field | Type | Required | Description | Example |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `Name` | [components.RolesControlPlanesName](../../models/components/rolescontrolplanesname.md) | :heavy_check_mark: | N/A | |
| `Description` | [components.Description](../../models/components/description.md) | :heavy_check_mark: | N/A | This role grants full write access to all entities within a control plane. |
8 changes: 4 additions & 4 deletions docs/models/components/apiproducts.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Fields

| Field | Type | Required | Description |
| -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- | -------------------------------------------------------------- |
| `Name` | [components.RolesName](../../models/components/rolesname.md) | :heavy_check_mark: | N/A |
| `Roles` | [components.RolesRoles](../../models/components/rolesroles.md) | :heavy_check_mark: | N/A |
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `Name` | [components.RolesAPIProductsName](../../models/components/rolesapiproductsname.md) | :heavy_check_mark: | N/A |
| `Roles` | [components.RolesRoles](../../models/components/rolesroles.md) | :heavy_check_mark: | N/A |
Loading

0 comments on commit 971395b

Please sign in to comment.