Class ValidateJsonSchemaStringDefinition
Leaf definition that validates the exchange body against a JSON Schema specified as a string.
public sealed class ValidateJsonSchemaStringDefinition : ProcessorDefinition, IProcessorDefinition
Inheritance
Implements
Inherited Members
Properties
ThrowOnFailure
Gets whether a validation failure throws an exception.
public bool ThrowOnFailure { get; }
Methods
CreateProcessor(IRouteContext)
Compile this node into a runtime processor.
public override IProcessor CreateProcessor(IRouteContext context)
Constructors
ValidateJsonSchemaStringDefinition(string, bool)
Creates a validate definition from a JSON Schema string.