MCPcopy Index your code
hub / github.com/TaskingAI/TaskingAI / validate_schema

Method validate_schema

backend/app/schemas/tool/action.py:130–131  ·  view source on GitHub ↗
(cls, schema: Dict)

Source from the content-addressed store, hash-verified

128
129 @field_validator("openapi_schema")
130 def validate_schema(cls, schema: Dict):
131 return validate_openapi_schema(schema, only_one_path_and_method=True)
132
133 @field_validator("authentication", mode="before")
134 def validate_authentication(cls, data: Dict):

Callers

nothing calls this directly

Calls 1

validate_openapi_schemaFunction · 0.85

Tested by

no test coverage detected