From 5bb84d3539b65bba92b832227ab89812a4102608 Mon Sep 17 00:00:00 2001 From: AJ Date: Wed, 28 Aug 2024 15:11:51 -0400 Subject: [PATCH] fix: specs catalog ref --- .../config/bindings/asyncapi/.partials/server.yaml | 10 +++++++--- .../bindings/openapi-asyncapi/.partials/options.md | 12 ++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/reference/config/bindings/asyncapi/.partials/server.yaml b/src/reference/config/bindings/asyncapi/.partials/server.yaml index ecbd4082..7c6b1fbf 100644 --- a/src/reference/config/bindings/asyncapi/.partials/server.yaml +++ b/src/reference/config/bindings/asyncapi/.partials/server.yaml @@ -1,7 +1,11 @@ - asyncapi_server: + mqtt_asyncapi_server: type: asyncapi kind: server options: specs: - my-mqtt-api-spec: mqtt/asyncapi.yaml - exit: asyncapi_proxy + my-mqtt-api-spec: + catalog: + my_catalog: + subject: mqtt-streetlights + version: latest + exit: south_kafka_proxy diff --git a/src/reference/config/bindings/openapi-asyncapi/.partials/options.md b/src/reference/config/bindings/openapi-asyncapi/.partials/options.md index f6b64660..39624bbe 100644 --- a/src/reference/config/bindings/openapi-asyncapi/.partials/options.md +++ b/src/reference/config/bindings/openapi-asyncapi/.partials/options.md @@ -9,9 +9,17 @@ options: specs: openapi: - my-openapi-spec: spec/openapi.yaml + my-openapi-spec: + catalog: + my_catalog: + subject: petstore + version: latest asyncapi: - my-asyncapi-spec: spec/asyncapi.yaml + my-asyncapi-spec: + catalog: + my_catalog: + subject: petstore + version: latest ``` #### options.specs