-
Notifications
You must be signed in to change notification settings - Fork 270
Labels
priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7days
Milestone
Description
The OpenAPI specification states that:
Each tag name in the list MUST be unique.
To reflect this attribute, it would be great if we could model the top-level tags collection in to the document as a hash set of sorts. However, because it is currently modeled as an IList
it is difficult to encode this uniqueness constraint in the source:
public IList<OpenApiTag>? Tags { get; set; } = new List<OpenApiTag>(); |
We should consider taking a breaking change to change the type to ICollection
or IEnumerable
so that consumer can initialize a HashSet
to enforce the uniqueness constraint.
Metadata
Metadata
Assignees
Labels
priority:p1High priority but not blocking. Causes major but not critical loss of functionality SLA <=7daysHigh priority but not blocking. Causes major but not critical loss of functionality SLA <=7days