Skip to content

Required string parameters accept empty value #58

Description

@fernando-casanova-pyyne

My application requires some fields, and the properties are working. However it allows empty strings to pass and I don't seem to find any configuration for this on the project. Can this gem validate this?
{ "type": "object", "properties": { "destination_postal_code": { "type": "string" }, "destination_city": { "type": "string" }, "expected_ship_date": { "type": "string" }, "fulfillment_hours": { "type": "string" }, "notes": { "type": "string" } }, "required": ["destination_postal_code", "destination_city", "expected_ship_date", "fulfillment_hours"] }
I cannot accept destination_postal_code==""

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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