Open jbvouma opened 3 years ago
What is [Parameters.Tags]
?
We have two classes, Parameters
that contains all parameters' descriptions and Configuration
that we use to generate the JSON schemas.
Parameters contains:
public Tags()
{
Label = "tags";
Description = "My tags.";
DefaultValue = new[] {
"og:",
"fb:",
"twitter:"
};
Visibility = VisibilityType.Internal;
}
And Configuration:
[Parameters.Tags]
public IEnumerable<string> Tags { get; set; }
Hi,
We have currently an issue with the way an enumerable of strings is generated in the json schema. Basically if we have a parameter
with default value
value = new[] { "og", "fb", "twitter"};
The generated value in the schema looks like:
Shouldn't the value be
"[\"og\", \"fb\", \"twitter\"]"
with escape strings?