Analyzer::Specification::Insomnia
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
BODY_PLACEHOLDER = /#{TEMPLATE_VAR}|\{%.*?%\}/
A {{ var }} or a {% response ... %} template tag, either of which may
stand unquoted as a JSON body value.
HTTP_METHODS = ALLOWED_HTTP_METHODS
TEMPLATE_VAR = /\{\{\s*(?:_\.)?([A-Za-z0-9_.-]+)\s*\}\}/
A {{ var }} / {{ _.var }} placeholder.
Class methods
tech_name
SourceInstance methods
analyze
Sourcetech
Instance-side view of the same declaration. The per-file rescues live on
this base class, which has no way to name the analyzer that is running
inside them, so a skipped file could not be attributed to a tech.
Deriving it from analyzer_for keeps the name written exactly once.