SchemaResolver class

Resolves local OpenTool schema references without shared global state.

Supported keywords are type, description, properties, items, additionalProperties, enum, required, $ref, oneOf, anyOf, and allOf. References must point to #/schemas/<name>. Recursive references are rejected with a path-aware FormatException.

Constructors

SchemaResolver([Map<String, dynamic>? definitions])

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
parseSchema(Map<String, dynamic> json, {String path = 'schema'}) → Schema
resolveAll() → Map<String, Schema>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited