asyncapi / spec

The AsyncAPI specification allows you to create machine-readable definitions of your asynchronous APIs.
https://www.asyncapi.com
Apache License 2.0
4.12k stars 262 forks source link

Use asyncapi for sunc api with redis transport #1065

Open cheprasov-dev opened 2 months ago

cheprasov-dev commented 2 months ago

Good afternoon, I have 2 microservices on nest js and they communicate using a synchronous model via the Redis transport.

Since the interaction is synchronous, I have both the body of the request and its response. How to write documentation for synchronous communication using asyncapi?

github-actions[bot] commented 2 months ago

Welcome to AsyncAPI. Thanks a lot for reporting your first issue. Please check out our contributors guide and the instructions about a basic recommended setup useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

derberg commented 2 months ago

@cheprasov-dev did you explore request/reply pattern that we support, there are some official docs about it.

why you want to describe sync communication with AsyncAPI, what is the communication protocol?