class
Analyzer::Specification::AsyncApi
- Analyzer::Specification::AsyncApi
- Analyzer
- Reference
- Object
Overview
AsyncAPI 2.x / 3.x analyzer.
Maps event-driven channels to endpoints:
- 2.x —
channels.<name>.{publish,subscribe}→ one endpoint per (channel, operation). Operation becomes the method-like field ("PUBLISH" / "SUBSCRIBE"). Message payload schema becomes the body shape. - 3.x —
operations.<id>withaction: send|receivereferencing achannels.<name>entry. Method becomes "SEND" / "RECEIVE". The channel'saddress(or the channel key as fallback) is the path.
The first server's protocol (kafka, mqtt, ws, amqp, nats, http, …)
is surfaced on the endpoint so DAST consumers can route accordingly.
Defined in:
analyzer/analyzers/specification/asyncapi.crConstant Summary
-
OPERATIONS_2X =
{"publish", "subscribe"} -
Operation keys on
channelsentries (2.x).