DEV Community

Discussion on: Should you explicitly define APIs when using Microservices?

Collapse
 
walhow profile image
whowery

Looks like Swagger would be a good way to document Api's, it includes examples and a way to test the API calls.

Collapse
 
jurajmalenica profile image
Juraj Malenica

I'm not sure Swagger supports async communication in this way. Could it be?

Collapse
 
booooh profile image
Ben Dayan

I believe the openAPI spec does allow for async communication as well as callbacks - swagger.io/docs/specification/call...

Thread Thread
 
walhow profile image
whowery • Edited

It's definitely built with microservices in mind:
swagger.io/blog/api-strategy/micro...