Detector::Specification::Hoppscotch
Constants
ENDPOINT_MARKER = /"endpoint"\s*:/
REQUESTS_MARKER = /"requests"\s*:/
Every .json in the tree reaches these guards.
"requests" and "variables" alone are common (k8s, GraphQL), so
each pairs with the key that is specific to its Hoppscotch shape.
SECRET_MARKER = /"secret"\s*:/
VARIABLES_MARKER = /"variables"\s*:/
Instance methods
Registers Hoppscotch collection and environment exports in
CodeLocator.
A collection export (one object, or an array of them for an
all-collections export) reports the tech. An environment export is
registered for <<var>> resolution but reports nothing on its own,
so a stray {name, variables} file can never surface the tech.