Interface

DeclarativeHttpValidatorConfig

@ng-forge/dynamic-forms

Declarative HTTP validator configuration — fully JSON-serializable, no function registration required.

Uses HttpRequestConfig to define the HTTP request and HttpValidationResponseMapping to interpret the response as a validation result. Powered by Angular's validateHttp API.

Discriminated from FunctionHttpValidatorConfig by the presence of http + responseMapping (and absence of functionName).

Signature

interface DeclarativeHttpValidatorConfig
  extends BaseValidatorConfig

Properties

NameTypeDescription
type "http"Validator type identifier
http HttpRequestConfigHTTP request configuration with expression-based query params and body
responseMapping HttpValidationResponseMappingMapping that interprets the HTTP response as a validation result