class

Detector::Specification::AsyncApi

Inherits Detector < Reference < Object

Constants

ASYNCAPI_MARKER = /asyncapi/

Every .json/.yaml/.yml in the tree reaches this gate.

Class methods

tech_name

The tech name without needing an instance, so the registry can be read off the classes themselves rather than from a parallel list.

Source

Instance methods

applicable?(filename : String) : Bool

Registers every AsyncAPI spec path in CodeLocator for the analyzer pass. Must keep running after first match.

Source
detect(filename : String, file_contents : String) : Bool
Source
idempotent?

Registers every AsyncAPI spec path in CodeLocator for the analyzer pass. Must keep running after first match.

Source
set_name

Registers every AsyncAPI spec path in CodeLocator for the analyzer pass. Must keep running after first match.

Source