OpenAPI Extensions
OpenAPIExtension
Metadata describing an extension to the OpenAPI spec.
Field | Description | Validation Rule |
name | string | – |
appliesTo | List of string | – |
required | bool | – |
OpenAPIExtensions
Available OpenAPI extensions to configure APi Gateway features in Service Bridge.
Field | Description | Validation Rule |
x-tsb-service | string
| – |
x-tsb-redirect | tetrateio.api.tsb.gateway.v2.Redirect
| – |
x-tsb-tls | tetrateio.api.tsb.gateway.v2.ServerTLSSettings
| – |
x-tsb-cors | tetrateio.api.tsb.gateway.v2.CorsPolicy
| – |
x-tsb-authentication | tetrateio.api.tsb.auth.v2.Authentication
| – |
x-tsb-external-authorization | tetrateio.api.tsb.auth.v2.Authorization.ExternalAuthzBackend
| – |
x-tsb-jwt-authorization | tetrateio.api.tsb.application.v2.OpenAPIExtensions.JWTAuthz
| – |
x-tsb-ratelimiting | tetrateio.api.tsb.gateway.v2.RateLimitSettings
| – |
x-tsb-external-ratelimiting | tetrateio.api.tsb.gateway.v2.ExternalRateLimitServiceSettings
| – |
x-tsb-wasm-extensions | tetrateio.api.tsb.application.v2.OpenAPIWasmExtensionAttachment
| – |
JWTAuthz
Configures authorization rules based on the JWT token in an incoming request.
Field | Description | Validation Rule |
claims | List of tetrateio.api.tsb.auth.v2.Subject.JWTClaims | – |
OpenAPIWasmExtensionAttachment
OpenAPIWasmExtensionAttachment defines the WASM extension attached in an OpenAPI specification including the name to identify the extension and also the specific configuration that will override the global extension configuration.
Field | Description | Validation Rule |
name | string | string = { |
config | google.protobuf.Struct | – |