Detector::Specification::Oas2
Constants
See Detector::Specification::Oas3 for why the YAML gate is anchored at
column 0 and stands in for the parse. A bare /swagger/ matched every
OpenAPI 3 document that links to its own swagger.yaml origin — 67 of
the 493 openapi-directory documents in the perf corpus — and each one
paid for a full YAML parse only to be rejected.
Class methods
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 OAS2 spec path in CodeLocator for the
analyzer pass. Must keep running after first match.
Registers every OAS2 spec path in CodeLocator for the
analyzer pass. Must keep running after first match.
Registers every OAS2 spec path in CodeLocator for the
analyzer pass. Must keep running after first match.