Skip to content

BUG :: Min/Max length not included on string if pattern is used #30

@gdbrown

Description

@gdbrown

This is on the generated json-schema

    "utm_source": {
      "type": "string",
      "pattern": "^[\\w\\/\\.:-]+$",
      "pbj": {
        "type": "string",
        "rule": "single"
      }
    },
    "utm_medium": {
      "type": "string",
      "pattern": "^[\\w\\/\\.:-]+$",
      "pbj": {
        "type": "string",
        "rule": "single"
      }
    },
    "utm_term": {
      "type": "string",
      "pattern": "^[\\w\\s\\/\\.,:-]+$",
      "pbj": {
        "type": "string",
        "rule": "single"
      }
    },
    "utm_content": {
      "type": "string",
      "pattern": "^[\\w\\/\\.:-]+$",
      "pbj": {
        "type": "string",
        "rule": "single"
      }
    },
    "utm_campaign": {
      "type": "string",
      "pattern": "^[\\w\\/\\.:-]+$",
      "pbj": {
        "type": "string",
        "rule": "single"
      }
    },

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions