Open yann-combarnous opened 1 month ago
@yann-combarnous can you check generated schema by this tool?
Probably, it just not correct
Seems like the problem in ouath bearer schema
oauthBearer
is an invalid type, we have to refactor this place
It will be nice if there is not an empty page, but a description of the error - https://github.com/asyncapi/asyncapi-react/issues/1048
oauthBearer
is an invalid type, we have to refactor this place
Indeed, this is where the issue is, even though my code is valid.
For reference if it helps, here is my working code:
from faststream.confluent import KafkaBroker
from faststream.security import SASLOAuthBearer
broker = KafkaBroker(
f"{kafka_creds['bootstrap_server_url']}:9092",
config=kafka_creds["read_config"],
security=SASLOAuthBearer(use_ssl=True),
)
@AceTheCreator can you help us here, please?
Describe the bug Following the tutorial for the AsyncAPI documentation generation, generation works, but hosting with FastStream returns a blank page.
How to reproduce Here is the generated HTML by FastStream:
And/Or steps to reproduce the behavior:
Expected behavior Documentation display asyncAPI doc
Observed behavior Browser returns blank page, no error.
Screenshots N/A
Environment Running FastStream 0.5.23 with CPython 3.12.4 on Darwin
Additional context N/A