Open ntnchrrn07 opened 4 months ago
Hi, I could not use for a string pattern and nullable, is it normal ?
OpenApiSpex.schema(%{ title: "mySchema", type: :object, properties: %{ dummy: %Schema{ type: :string, nullable: true, pattern: "^[0-9]{3}$" }
}
I would like to allow :
{dummy: null} and {dummy: "010"}
Hi, I could not use for a string pattern and nullable, is it normal ?
}
I would like to allow :
{dummy: null} and {dummy: "010"}