feature: document RPC responses in AsyncAPI #1586
Labels
Core
Issues related to core FastStream functionality and affects to all brokers
enhancement
New feature or request
good first issue
Good for newcomers
Milestone
Discussed in #1570
Originally posted by gri38 July 1, 2024
Hello.
When we subscribe to a queue to answer a RPC call, it seems we cannot document the return type.
H§ere a small exemple:
If I run with
faststream docs serve rpc:app
I cannot see Out in the doc (http://localhost:8000).Is there a way to do so ?
When I use the RabbitRouter, I can see in the router @subscriber decorator:
But even with response_model: nothing in asyncAPI.
Thanks for any tips, even for "it's not possible" ;-)
The text was updated successfully, but these errors were encountered: