Open
Description
With version 0.4, ticket's schema define type of some field (priority
, resolution
, ticketType
) like:
"anyOf": [
{
"type": "string",
"enum": [
"low",
"medium",
"high"
]
},
{
"type": "string"
}
]
But this definition is "conflicting" as the second is a superset of the first. (if oneOf
is used instead of anyOf
a jsonschema linter will warm about this issue). I mean for any language implementation string
will be used (or an automatic generator/serializer+deserializer will be confused).
What is the purpose/value of the enum if any value can be used? (eg if a system is uppercase like "LOW")
Suggestion: replace the anyOf
by single"type": "string"
@sbrennan4 WDYT?
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo