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:
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.