Skip to main content

Module diff

Module diff 

Source
Expand description

Compatibility diffing between two generated AsyncAPI documents.

The direction that decides what “required” costs is the operation’s own action, not a request/response split: a message this application sends is data a consumer reads, so dropping a guaranteed field breaks them; a message it receives is data a producer writes, so demanding a new field breaks them instead. That is the same asymmetry OpenAPI has between a response and a request body, read off a different key.

Functions§

diff
Compare two generated documents, oldest first.