Skip to content

[Ajv] Allow pass default and custom format validators #796

@igorbrasileiro

Description

@igorbrasileiro

Allow pass string formats to ajvResolver and use defaults from ajv-formats.

example schema:

{
  "type": "object",
  "properties": {
    "email": {
      "type": "string",
      "format": "email",
    },
  },
  "required": ["email"],
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions