FastStream is a powerful and easy-to-use Python framework for building asynchronous services interacting with event streams such as Apache Kafka, RabbitMQ, NATS and Redis.
Describe the bug
When using publisher/subscriber decorators with a title prop on redis fastapi plugin routers the asyncapi schema generation can fail. This happens specifically when I use "/" in a title name and leads to a blank asyncapi webpage.
Describe the bug When using publisher/subscriber decorators with a title prop on redis fastapi plugin routers the asyncapi schema generation can fail. This happens specifically when I use "/" in a title name and leads to a blank asyncapi webpage.
How to reproduce This code fails:
however swapping "/" to ":" makes everything work:
Expected behavior No blank webpage when using "/" in a pubsub decorator title.
Observed behavior Blank Webpage
Screenshots If applicable, attach screenshots to help illustrate the problem.
Environment Running FastStream 0.5.23 with CPython 3.12.5 on Linux
Additional context Could probably be fixed with a regex check somewhere.