MCPcopy Create free account
hub / github.com/github/gh-aw / compileSchema

Function compileSchema

pkg/parser/schema_compiler.go:148–150  ·  view source on GitHub ↗

compileSchema preserves existing package-local call sites.

(schemaJSON, schemaURL string)

Source from the content-addressed store, hash-verified

146
147// compileSchema preserves existing package-local call sites.
148func compileSchema(schemaJSON, schemaURL string) (*jsonschema.Schema, error) {
149 return CompileSchema(schemaJSON, schemaURL)
150}
151
152// safeOutputMetaFields are the meta-configuration fields in safe-outputs that are NOT actual safe output types.
153// These are used for configuration, not for defining safe output operations.

Callers 5

validateWithSchemaFunction · 0.70

Calls 1

CompileSchemaFunction · 0.85

Tested by

no test coverage detected