MCPcopy Create free account
hub / github.com/BerriAI/litellm / proxy_spec

Function proxy_spec

scripts/check_openapi_docs.py:63–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def proxy_spec() -> Mapping[str, object]:
64 from litellm.proxy.proxy_server import app
65
66 return _as_mapping(app.openapi())
67
68
69def main(argv: list[str] = sys.argv[1:]) -> int:

Callers 1

mainFunction · 0.85

Calls 2

_as_mappingFunction · 0.70
openapiMethod · 0.45

Tested by

no test coverage detected