Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IJtdcDialectOptions<M>

Options provided to all validator dialect factories.

Type parameters

  • M

Hierarchy

Index

Methods

Optional renameDiscriminatorKey

Optional renamePropertyKey

Optional renameType

  • renameType(ref: string, node: JtdNode<M>): string

Optional renameTypeGuard

  • renameTypeGuard(ref: string, node: JtdNode<M>): string

Optional renameValidator

  • renameValidator(ref: string, node: JtdNode<M>): string

Optional rewriteEnumValue

  • rewriteEnumValue(value: string, node: IJtdEnumNode<M>): undefined | string | number

Optional rewriteMappingKey

  • rewriteMappingKey(mappingKey: string, mappingNode: IJtdObjectNode<M>, unionRef: undefined | string, unionNode: IJtdUnionNode<M>): undefined | string | number

Generated using TypeDoc