Type Alias VersionValidatorMiddlewareOptions

VersionValidatorMiddlewareOptions: VersionValidatorPartialOptions & {
    version?: string;
}

The options for the middleware creator that will mount an instance of VersionValidator.

Type declaration

  • Optionalversion?: string

    The version used to validate the requests. This is optional in here because if it's not specified, it will be obtained from the configuration service.