Type alias VersionValidatorMiddlewareOptions

VersionValidatorMiddlewareOptions: VersionValidatorPartialOptions & {
    version?: string;
}

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

Type declaration

  • Optional version?: 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.

Generated using TypeDoc