Analyzer::Specification::Oas3
Inherits Analyzer::Specification::SpecificationEngine < Analyzer < FileHelper < Reference < Object
Constants
HTTP_METHODS = {"get", "post", "put", "delete", "patch", "options", "head", "trace", "query"}
query is the OpenAPI 3.2 Path Item operation key for RFC 10008's
QUERY method; the detector accepts every 3.x document, so a spec
declaring it must not have the operation silently skipped.
Class methods
tech_name
SourceInstance methods
analyze
Sourceget_base_path(servers : JSON::Any)
A server entry that is not a mapping (servers: ["bad", {url: /api}])
contributes nothing; it must not cost the entries after it.
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.