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

Function main

scripts/check_openapi_docs.py:69–73  ·  view source on GitHub ↗
(argv: list[str] = sys.argv[1:])

Source from the content-addressed store, hash-verified

67
68
69def main(argv: list[str] = sys.argv[1:]) -> int:
70 spec: Final = json.loads(open(argv[0]).read()) if argv else proxy_spec()
71 for violation in violations(spec):
72 print(f"{violation.method} {violation.path} {violation.code}")
73 return 0
74
75
76if __name__ == "__main__":

Callers 1

Calls 5

proxy_specFunction · 0.85
loadsMethod · 0.80
violationsFunction · 0.70
openFunction · 0.50
readMethod · 0.45

Tested by

no test coverage detected