Detector::Specification::Apisix
Constants
PAYLOAD_MARKER = /\bupstream_id\b|\bplugins\b/
ROUTES_MARKER = /\broutes\b/
Word-bounded guard markers. The accepted shapes require actual
routes / uri(uris) / upstream_id or plugins keys, which
always appear word-bounded in the raw document ("uri": / uri:),
so \b keeps the guard a necessary condition while no longer
tripping on substrings — the bare includes?("uri") matched
"security" and made large OpenAPI JSON specs pay a full redundant
parse here on every scan (this detector is non-idempotent).
URI_MARKER = /\buris?\b/
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.
Instance methods
Registers every APISIX route config path in CodeLocator.