openapi-asyncapi Binding
Bindingopenapi-asyncapiproxy
openapi-asyncapi Binding
The proxy
kind openapi-asyncapi
binding adapts OpenAPI request-response streams to AsyncAPI streams.
proxy
Behave as an openapi-asyncapi
proxy
for adapting openapi
operations to asyncapi
operations.
openapi_asyncapi_proxy:
type: openapi-asyncapi
kind: proxy
options:
specs:
openapi:
my-openapi-spec:
catalog:
my_catalog:
subject: petstore
version: latest
asyncapi:
my-asyncapi-spec:
catalog:
my_catalog:
subject: petstore
version: latest
routes:
- when:
- api-id: my-openapi-spec
exit: asyncapi_client
with:
api-id: my-asyncapi-spec