Describe the bug
My API for websocket consist from several files and for rendering API description in final image I need to make one file using bundle command (see script merge_xapi_json.sh). This script makes one file in asyncapi 3.0.0 format, but some references in final file is broken.
for example, there is value "#/components/messages/action" in file asyncapi_bundle.json in section "operations/send_ui_actions/message", but if we render this file the error was occure:
to fix this behavior I change value to "#/channels/graphbe_v2/messages/action"
To Reproduce
I provide minimal project for reproduce bug
project.tar.gz
- build bundle asyncapi doc
- build image and run
docker build -t redocly-test .
docker compose up -d
-
test asyncapi doc with error
http://localhost:5000/docs/asyncapi
-
test pathched asyncapi doc
http://localhost:5000/docs/asyncapi/manual_patched
Expected behavior
- test pathched asyncapi doc
http://localhost:5000/docs/asyncapi/manual_patched
Logs
error in browser see in 'Describe' section
normal render looks like in 'Expected behavior' section
OpenAPI description
see asyncapi_*.json
Redocly version(s)
2.10.0
in image
redocly/cli:latest sha256:5df39d10f98e9f6bc6839328f0e753476d0385799c47cd1f1c09c4d7285d1cfc
OS, environment
ubuntu desktop 20.04
Describe the bug
My API for websocket consist from several files and for rendering API description in final image I need to make one file using bundle command (see script merge_xapi_json.sh). This script makes one file in asyncapi 3.0.0 format, but some references in final file is broken.
for example, there is value "#/components/messages/action" in file asyncapi_bundle.json in section "operations/send_ui_actions/message", but if we render this file the error was occure:
to fix this behavior I change value to "#/channels/graphbe_v2/messages/action"
To Reproduce
I provide minimal project for reproduce bug
project.tar.gz
test asyncapi doc with error
http://localhost:5000/docs/asyncapitest pathched asyncapi doc
http://localhost:5000/docs/asyncapi/manual_patchedExpected behavior
http://localhost:5000/docs/asyncapi/manual_patchedLogs
error in browser see in 'Describe' section
normal render looks like in 'Expected behavior' section
OpenAPI description
see asyncapi_*.json
Redocly version(s)
2.10.0
in image
redocly/cli:latest sha256:5df39d10f98e9f6bc6839328f0e753476d0385799c47cd1f1c09c4d7285d1cfc
OS, environment
ubuntu desktop 20.04