diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index bea8ae3..0115137 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: b81e5def-5b1e-4753-ae7c-0efccc2e6f61 management: - docChecksum: ec4d3cb9876f69aa90a3374c55d5aae7 + docChecksum: 9c5d9fb0ef0ed11b79e5aae7c6a7ab34 docVersion: 0.0.1 speakeasyVersion: 1.395.1 generationVersion: 2.415.0 - releaseVersion: 0.0.7 - configChecksum: 6f594138dd6c8fa8c310f042d778ed80 + releaseVersion: 0.0.8 + configChecksum: 7b07ca7b4e6e790123dd9b509754bd02 features: go: additionalDependencies: 0.1.0 @@ -1274,6 +1274,7 @@ examples: responses: "401": application/json: {"message": "", "status": 186994} + "200": {} list-acl-with-consumer: "": parameters: @@ -1319,6 +1320,7 @@ examples: responses: "401": application/json: {"message": "", "status": 601420} + "200": {} list-basic-auth-with-consumer: "": parameters: @@ -1364,6 +1366,7 @@ examples: responses: "401": application/json: {"message": "", "status": 41102} + "200": {} create-ca_certificate: "": parameters: @@ -1372,6 +1375,7 @@ examples: responses: "401": application/json: {"message": "", "status": 812329} + "201": {} get-ca_certificate: "": parameters: @@ -1381,6 +1385,7 @@ examples: responses: "401": application/json: {"message": "", "status": 834989} + "200": {} upsert-ca_certificate: "": parameters: @@ -1390,6 +1395,7 @@ examples: responses: "401": application/json: {"message": "", "status": 10999} + "200": {} delete-ca_certificate: "": parameters: @@ -1409,6 +1415,7 @@ examples: responses: "401": application/json: {"message": "", "status": 637614} + "200": {} create-certificate: "": parameters: @@ -1417,6 +1424,7 @@ examples: responses: "401": application/json: {"message": "", "status": 143829} + "201": {} get-certificate: "": parameters: @@ -1426,6 +1434,7 @@ examples: responses: "401": application/json: {"message": "", "status": 173775} + "200": {} upsert-certificate: "": parameters: @@ -1435,6 +1444,7 @@ examples: responses: "401": application/json: {"message": "", "status": 45220} + "200": {} delete-certificate: "": parameters: @@ -1489,6 +1499,7 @@ examples: responses: "401": application/json: {"message": "", "status": 974373} + "200": {} create-sni: "": parameters: @@ -1497,6 +1508,7 @@ examples: responses: "401": application/json: {"message": "", "status": 805552} + "201": {} get-sni: "": parameters: @@ -1506,6 +1518,7 @@ examples: responses: "401": application/json: {"message": "", "status": 786293} + "200": {} upsert-sni: "": parameters: @@ -1515,6 +1528,7 @@ examples: responses: "401": application/json: {"message": "", "status": 145107} + "200": {} delete-sni: "": parameters: @@ -1534,6 +1548,7 @@ examples: responses: "401": application/json: {"message": "", "status": 463382} + "200": {} create-consumer_group: "": parameters: @@ -1542,6 +1557,7 @@ examples: responses: "401": application/json: {"message": "", "status": 933383} + "201": {} get-consumer_group: "": parameters: @@ -1551,6 +1567,7 @@ examples: responses: "401": application/json: {"message": "", "status": 945866} + "200": {} upsert-consumer_group: "": parameters: @@ -1560,6 +1577,7 @@ examples: responses: "401": application/json: {"message": "", "status": 153550} + "200": {} delete-consumer_group: "": parameters: @@ -1587,6 +1605,7 @@ examples: responses: "401": application/json: {"message": "", "status": 184678} + "200": {} create-consumer: "": parameters: @@ -1595,6 +1614,7 @@ examples: responses: "401": application/json: {"message": "", "status": 848959} + "201": {} get-consumer: "": parameters: @@ -1604,6 +1624,7 @@ examples: responses: "401": application/json: {"message": "", "status": 616749} + "200": {} upsert-consumer: "": parameters: @@ -1613,6 +1634,7 @@ examples: responses: "401": application/json: {"message": "", "status": 246381} + "200": {} delete-consumer: "": parameters: @@ -1667,6 +1689,7 @@ examples: responses: "401": application/json: {"message": "", "status": 964312} + "200": {} list-jwt-with-consumer: "": parameters: @@ -1712,6 +1735,7 @@ examples: responses: "401": application/json: {"message": "", "status": 276} + "200": {} list-key-auth-with-consumer: "": parameters: @@ -1757,6 +1781,7 @@ examples: responses: "401": application/json: {"message": "", "status": 225401} + "200": {} list-key-set: "": parameters: @@ -1767,6 +1792,7 @@ examples: responses: "401": application/json: {"message": "", "status": 539517} + "200": {} create-key-set: "": parameters: @@ -1775,6 +1801,7 @@ examples: responses: "401": application/json: {"message": "", "status": 454928} + "201": {} get-key-set: "": parameters: @@ -1784,6 +1811,7 @@ examples: responses: "401": application/json: {"message": "", "status": 321714} + "200": {} upsert-key-set: "": parameters: @@ -1793,6 +1821,7 @@ examples: responses: "401": application/json: {"message": "", "status": 666641} + "200": {} delete-key-set: "": parameters: @@ -1812,6 +1841,7 @@ examples: responses: "401": application/json: {"message": "", "status": 54127} + "200": {} create-key: "": parameters: @@ -1820,6 +1850,7 @@ examples: responses: "401": application/json: {"message": "", "status": 907390} + "201": {} get-key: "": parameters: @@ -1829,6 +1860,7 @@ examples: responses: "401": application/json: {"message": "", "status": 265510} + "200": {} upsert-key: "": parameters: @@ -1838,6 +1870,7 @@ examples: responses: "401": application/json: {"message": "", "status": 385247} + "200": {} delete-key: "": parameters: @@ -1937,6 +1970,7 @@ examples: responses: "401": application/json: {"message": "", "status": 792384} + "200": {} create-plugin: "": parameters: @@ -1945,6 +1979,7 @@ examples: responses: "401": application/json: {"message": "", "status": 130029} + "201": {} get-plugin: "": parameters: @@ -1954,6 +1989,7 @@ examples: responses: "401": application/json: {"message": "", "status": 929065} + "200": {} upsert-plugin: "": parameters: @@ -1963,6 +1999,7 @@ examples: responses: "401": application/json: {"message": "", "status": 114024} + "200": {} delete-plugin: "": parameters: @@ -2058,6 +2095,7 @@ examples: responses: "401": application/json: {"message": "", "status": 175066} + "200": {} create-route: "": parameters: @@ -2066,6 +2104,7 @@ examples: responses: "401": application/json: {"message": "", "status": 811488} + "201": {} get-route: "": parameters: @@ -2075,6 +2114,7 @@ examples: responses: "401": application/json: {"message": "", "status": 248766} + "200": {} upsert-route: "": parameters: @@ -2084,6 +2124,7 @@ examples: responses: "401": application/json: {"message": "", "status": 298474} + "200": {} delete-route: "": parameters: @@ -2138,6 +2179,7 @@ examples: responses: "401": application/json: {"message": "", "status": 151286} + "200": {} create-service: "": parameters: @@ -2193,6 +2235,7 @@ examples: responses: "401": application/json: {"message": "", "status": 702828} + "200": {} create-upstream: "": parameters: @@ -2201,6 +2244,7 @@ examples: responses: "401": application/json: {"message": "", "status": 670650} + "201": {} get-upstream: "": parameters: @@ -2210,6 +2254,7 @@ examples: responses: "401": application/json: {"message": "", "status": 104017} + "200": {} upsert-upstream: "": parameters: @@ -2219,6 +2264,7 @@ examples: responses: "401": application/json: {"message": "", "status": 59493} + "200": {} delete-upstream: "": parameters: @@ -2273,6 +2319,7 @@ examples: responses: "401": application/json: {"message": "", "status": 831425} + "200": {} create-vault: "": parameters: @@ -2281,6 +2328,7 @@ examples: responses: "401": application/json: {"message": "", "status": 954798} + "201": {} get-vault: "": parameters: @@ -2290,6 +2338,7 @@ examples: responses: "401": application/json: {"message": "", "status": 429820} + "200": {} upsert-vault: "": parameters: @@ -2299,6 +2348,7 @@ examples: responses: "401": application/json: {"message": "", "status": 63413} + "200": {} delete-vault: "": parameters: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 71f6e20..5ecce43 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: false go: - version: 0.0.7 + version: 0.0.8 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false clientServerStatusCodesAsErrors: true diff --git a/docs/models/components/active.md b/docs/models/components/active.md index d713d65..4d56bf9 100644 --- a/docs/models/components/active.md +++ b/docs/models/components/active.md @@ -6,7 +6,7 @@ | Field | Type | Required | Description | | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | ------------------------------------------------------------- | | `Concurrency` | **int64* | :heavy_minus_sign: | N/A | -| `Headers` | map[string]*any* | :heavy_minus_sign: | N/A | +| `Headers` | map[string]*string* | :heavy_minus_sign: | N/A | | `Healthy` | [*components.Healthy](../../models/components/healthy.md) | :heavy_minus_sign: | N/A | | `HTTPPath` | **string* | :heavy_minus_sign: | N/A | | `HTTPSSni` | **string* | :heavy_minus_sign: | N/A | diff --git a/models/components/upstream.go b/models/components/upstream.go index 42aa7ca..1bff6f7 100644 --- a/models/components/upstream.go +++ b/models/components/upstream.go @@ -271,15 +271,15 @@ func (o *Unhealthy) GetTimeouts() *int64 { } type Active struct { - Concurrency *int64 `default:"10" json:"concurrency"` - Headers map[string]any `json:"headers,omitempty"` - Healthy *Healthy `json:"healthy,omitempty"` - HTTPPath *string `default:"/" json:"http_path"` - HTTPSSni *string `json:"https_sni,omitempty"` - HTTPSVerifyCertificate *bool `default:"true" json:"https_verify_certificate"` - Timeout *float64 `default:"1" json:"timeout"` - Type *Type `default:"http" json:"type"` - Unhealthy *Unhealthy `json:"unhealthy,omitempty"` + Concurrency *int64 `default:"10" json:"concurrency"` + Headers map[string]string `json:"headers,omitempty"` + Healthy *Healthy `json:"healthy,omitempty"` + HTTPPath *string `default:"/" json:"http_path"` + HTTPSSni *string `json:"https_sni,omitempty"` + HTTPSVerifyCertificate *bool `default:"true" json:"https_verify_certificate"` + Timeout *float64 `default:"1" json:"timeout"` + Type *Type `default:"http" json:"type"` + Unhealthy *Unhealthy `json:"unhealthy,omitempty"` } func (a Active) MarshalJSON() ([]byte, error) { @@ -300,7 +300,7 @@ func (o *Active) GetConcurrency() *int64 { return o.Concurrency } -func (o *Active) GetHeaders() map[string]any { +func (o *Active) GetHeaders() map[string]string { if o == nil { return nil } diff --git a/openapi.yaml b/openapi.yaml index c7bc5d0..3ec5669 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -8620,7 +8620,8 @@ components: default: 10 type: integer headers: - additionalProperties: true + additionalProperties: + type: string type: object healthy: properties: diff --git a/sdk.go b/sdk.go index 0af8f50..c611cd7 100644 --- a/sdk.go +++ b/sdk.go @@ -261,9 +261,9 @@ func New(opts ...SDKOption) *SDK { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.0.1", - SDKVersion: "0.0.7", + SDKVersion: "0.0.8", GenVersion: "2.415.0", - UserAgent: "speakeasy-sdk/go 0.0.7 2.415.0 0.0.1 github.com/Kong/sdk-konnect-go", + UserAgent: "speakeasy-sdk/go 0.0.8 2.415.0 0.0.1 github.com/Kong/sdk-konnect-go", Hooks: hooks.New(), }, }