class

Analyzer::Specification::Tyk

Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object

Tyk classic API definitions: proxy.listen_path is the public prefix and every version_data.versions.*.extended_paths.<policy>[] entry (and the legacy paths.<policy> string lists) names a path under it, for the method_actions / method verbs. The listen path itself is emitted for any verb unless a white_list restricts the API to its listed paths.

Constants

PATH_LINE = /["']?(?:listen_)?path["']?\s*:\s*["']?([^"'\s,]+)/

"path": "/admin" / listen_path: /orders, for the line an entry is on.

Class methods

tech_name
Source

Instance methods

analyze
Source
tech

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.

Source