Skip to content

Commit d15711f

Browse files
authored
feat(sdk): automated oas update (#4491)
Co-authored-by: kong[bot] <123129154+kong[bot]@users.noreply.github.com>
1 parent df3b110 commit d15711f

File tree

2 files changed

+112
-5
lines changed

2 files changed

+112
-5
lines changed

api-specs/konnect/event-gateway/v1/openapi.yaml

Lines changed: 109 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ info:
2121
contact:
2222
name: Kong
2323
url: 'https://cloud.konghq.com'
24-
x-oas-source: kong/platform-api@c84412ec45ceb782cf4901750bf4013311bbcb98
25-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c84412ec45ceb782cf4901750bf4013311bbcb98'
24+
x-oas-source: kong/platform-api@2d934da57b631cf395103da16f430107a7542da5
25+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/2d934da57b631cf395103da16f430107a7542da5'
2626
servers:
2727
- url: 'https://us.api.konghq.com/v1'
2828
description: United-States Production region
@@ -2039,11 +2039,13 @@ components:
20392039
sasl_plain: '#/components/schemas/VirtualClusterAuthenticationSaslPlainSensitiveDataAware'
20402040
sasl_scram: '#/components/schemas/VirtualClusterAuthenticationSaslScram'
20412041
oauth_bearer: '#/components/schemas/VirtualClusterAuthenticationOauthBearer'
2042+
client_certificate: '#/components/schemas/VirtualClusterAuthenticationClientCertificate'
20422043
oneOf:
20432044
- $ref: '#/components/schemas/VirtualClusterAuthenticationAnonymous'
20442045
- $ref: '#/components/schemas/VirtualClusterAuthenticationSaslPlainSensitiveDataAware'
20452046
- $ref: '#/components/schemas/VirtualClusterAuthenticationSaslScram'
20462047
- $ref: '#/components/schemas/VirtualClusterAuthenticationOauthBearer'
2048+
- $ref: '#/components/schemas/VirtualClusterAuthenticationClientCertificate'
20472049
VirtualClusterAuthenticationScheme:
20482050
discriminator:
20492051
propertyName: type
@@ -2052,11 +2054,13 @@ components:
20522054
sasl_plain: '#/components/schemas/VirtualClusterAuthenticationSaslPlain'
20532055
sasl_scram: '#/components/schemas/VirtualClusterAuthenticationSaslScram'
20542056
oauth_bearer: '#/components/schemas/VirtualClusterAuthenticationOauthBearer'
2057+
client_certificate: '#/components/schemas/VirtualClusterAuthenticationClientCertificate'
20552058
oneOf:
20562059
- $ref: '#/components/schemas/VirtualClusterAuthenticationAnonymous'
20572060
- $ref: '#/components/schemas/VirtualClusterAuthenticationSaslPlain'
20582061
- $ref: '#/components/schemas/VirtualClusterAuthenticationSaslScram'
20592062
- $ref: '#/components/schemas/VirtualClusterAuthenticationOauthBearer'
2063+
- $ref: '#/components/schemas/VirtualClusterAuthenticationClientCertificate'
20602064
VirtualClusterAuthenticationAnonymous:
20612065
type: object
20622066
properties:
@@ -2067,6 +2071,53 @@ components:
20672071
x-terraform-transform-const: true
20682072
required:
20692073
- type
2074+
VirtualClusterAuthenticationClientCertificate:
2075+
description: Client certificate (mTLS) authentication scheme for the virtual cluster.
2076+
type: object
2077+
properties:
2078+
type:
2079+
type: string
2080+
enum:
2081+
- client_certificate
2082+
x-terraform-transform-const: true
2083+
example:
2084+
type: client_certificate
2085+
additionalProperties: false
2086+
required:
2087+
- type
2088+
x-min-runtime-version: '1.1'
2089+
TLSTrustBundleName:
2090+
description: The unique name of the TLS trust bundle.
2091+
type: string
2092+
maxLength: 255
2093+
minLength: 1
2094+
x-unicode-pattern: '^[\p{L}\p{N}][\p{L}\p{N} _\-\.:/+'']*[\p{L}\p{N}]$'
2095+
TLSTrustBundleReference:
2096+
description: |
2097+
A reference to a TLS trust bundle resource.
2098+
2099+
Either `id` or `name` must be provided. Following changes to the trust bundle name won't affect the
2100+
reference, as the system will create the entities relationship by `id`.
2101+
anyOf:
2102+
- $ref: '#/components/schemas/TLSTrustBundleReferenceById'
2103+
- $ref: '#/components/schemas/TLSTrustBundleReferenceByName'
2104+
TLSTrustBundleReferenceById:
2105+
type: object
2106+
properties:
2107+
id:
2108+
description: The unique identifier of the TLS trust bundle.
2109+
type: string
2110+
format: uuid
2111+
minLength: 1
2112+
required:
2113+
- id
2114+
TLSTrustBundleReferenceByName:
2115+
type: object
2116+
properties:
2117+
name:
2118+
$ref: '#/components/schemas/TLSTrustBundleName'
2119+
required:
2120+
- name
20702121
VirtualClusterAuthenticationSaslPlainSensitiveDataAware:
20712122
description: SASL/PLAIN authentication scheme for the virtual cluster.
20722123
type: object
@@ -2978,6 +3029,34 @@ components:
29783029
If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed.
29793030
type: boolean
29803031
default: false
3032+
client_authentication:
3033+
description: |
3034+
Configures mutual TLS (mTLS) client certificate verification. When set, the gateway
3035+
requests or requires clients to present a certificate during the TLS handshake.
3036+
type: object
3037+
properties:
3038+
mode:
3039+
description: |
3040+
* required - Reject TLS connections without a valid client certificate.
3041+
* requested - Request a client certificate during the TLS handshake, but allow connections without one (falls back to other configured authentication methods). If a certificate is presented but cannot be verified, the connection is closed.
3042+
type: string
3043+
enum:
3044+
- required
3045+
- requested
3046+
tls_trust_bundles:
3047+
description: |
3048+
References to TLS trust bundle resources used to verify client certificates. Evaluated in order;
3049+
verification stops at the first trust bundle that successfully validates the client certificate
3050+
chain. If no trust bundle validates the certificate chain, the connection is closed when mode is
3051+
`required`.
3052+
type: array
3053+
items:
3054+
$ref: '#/components/schemas/TLSTrustBundleReference'
3055+
minItems: 1
3056+
required:
3057+
- mode
3058+
- tls_trust_bundles
3059+
x-min-runtime-version: '1.1'
29813060
required:
29823061
- certificates
29833062
EventGatewayTLSListenerPolicyConfig:
@@ -2996,6 +3075,34 @@ components:
29963075
If false, only TLS connections are allowed. If true, both TLS and plaintext connections are allowed.
29973076
type: boolean
29983077
default: false
3078+
client_authentication:
3079+
description: |
3080+
Configures mutual TLS (mTLS) client certificate verification. When set, the gateway
3081+
requests or requires clients to present a certificate during the TLS handshake.
3082+
type: object
3083+
properties:
3084+
mode:
3085+
description: |
3086+
* required - Reject TLS connections without a valid client certificate.
3087+
* requested - Request a client certificate during the TLS handshake, but allow connections without one (falls back to other configured authentication methods). If a certificate is presented but cannot be verified, the connection is closed.
3088+
type: string
3089+
enum:
3090+
- required
3091+
- requested
3092+
tls_trust_bundles:
3093+
description: |
3094+
References to TLS trust bundle resources used to verify client certificates. Evaluated in order;
3095+
verification stops at the first trust bundle that successfully validates the client certificate
3096+
chain. If no trust bundle validates the certificate chain, the connection is closed when mode is
3097+
`required`.
3098+
type: array
3099+
items:
3100+
$ref: '#/components/schemas/TLSTrustBundleReference'
3101+
minItems: 1
3102+
required:
3103+
- mode
3104+
- tls_trust_bundles
3105+
x-min-runtime-version: '1.1'
29993106
required:
30003107
- certificates
30013108
TLSCertificateSensitiveDataAware:

api-specs/konnect/metering-and-billing/v3/openapi.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ info:
66
name: Kong
77
url: 'https://cloud.konghq.com'
88
description: Konnect Metering & Billing API.
9-
x-oas-source: kong/platform-api@fff8d6357a54702356158b3bf2b5b80db22fc823
10-
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/fff8d6357a54702356158b3bf2b5b80db22fc823'
9+
x-oas-source: kong/platform-api@c8eac024b35f852ead801629059f98afee40b567
10+
x-oas-source-link: 'https://github.com/Kong/platform-api/commit/c8eac024b35f852ead801629059f98afee40b567'
1111
servers:
1212
- url: 'https://us.api.konghq.com/v3'
1313
description: United-States Production region
@@ -4438,7 +4438,7 @@ components:
44384438
The Konnect access token is meant to be used by the Konnect dashboard and the decK CLI authenticate with.
44394439
tags:
44404440
- name: OpenMeter Billing
4441-
description: 'Billing manages the billing profiles, and invoices for customers.'
4441+
description: 'Billing manages the billing profiles, currencies, cost bases, and invoices for customers.'
44424442
- name: OpenMeter Apps
44434443
description: 'Apps enable you to extend and customize billing and usage workflows by integrating with external systems and services. Apps can automate and enhance your billing ecosystem by supporting capabilities such as synchronizing usage data with third-party platforms, calculating taxes, generating and delivering invoices, handling payment collection, and other billing-related tasks.'
44444444
- name: OpenMeter Entitlements

0 commit comments

Comments
 (0)