Class ValidatorEndpointOptions
Options for the validator endpoint.
public sealed class ValidatorEndpointOptions : EndpointOptions
Inheritance
Inherited Members
EndpointOptions.BindableOptions(Type),EndpointOptions.BindFromUri(IReadOnlyDictionary<string, string>),EndpointOptions.IsLenient(Type),EndpointOptions.OptionValueHint(string),EndpointOptions.ResolveOption(string?, IExchange),EndpointOptions.RoleOf(PropertyInfo),EndpointOptions.UnknownParameterHint(string),EndpointOptions.UnmappedParameters,EndpointOptions.Validate(),EndpointOptions.WrittenBesideConnectionFactory(Type, EndpointUri),EndpointOptions.WrittenForOtherRole(Type, EndpointUri, EndpointRole)
Properties
Format
Explicit format override: json or xml. If not set, auto-detected from file extension.
public string? Format { get; set; }
SchemaRoot
For XSD: the directory the schema's imports and includes stay under, relative to the schema's directory
public string? SchemaRoot { get; set; }
TargetNamespace
Target namespace for XSD schemas (optional).
public string? TargetNamespace { get; set; }
ThrowOnFailure
Whether to throw on validation failure. Default: true.
public bool ThrowOnFailure { get; set; }
Methods
Validate()
Validates required parameters and constraints. Called after BindFromUri.
public override void Validate()