MCPcopy Create free account
hub / github.com/TheSecuredAnalyst/security-suite / __init__

Method __init__

modules/apisec/openapi_parser.py:66–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 """Parser for OpenAPI/Swagger specifications."""
65
66 def __init__(self):
67 self.logger = get_logger("apisec.parser")
68
69 async def parse_url(self, url: str, allow_private: bool | None = None) -> ParsedAPI:
70 """Parse OpenAPI spec from URL.

Callers

nothing calls this directly

Calls 1

get_loggerFunction · 0.90

Tested by

no test coverage detected