Describe the bug
Using the openapi3 emitter version 0.66.0.
When the @tagMetadata is not applied on the namespace the Operations are grouped by their tag in the order defined.
When the @tagMetadata decorator is used the tags are reordered alphabetically and the order of tags is no longer preserved.
Reproduction
Without @tagMetadata
Using @tagMetadata
Checklist
Describe the bug
Using the openapi3 emitter version 0.66.0.
When the @tagMetadata is not applied on the namespace the Operations are grouped by their tag in the order defined.
When the @tagMetadata decorator is used the tags are reordered alphabetically and the order of tags is no longer preserved.
Reproduction
Without @tagMetadata
Using @tagMetadata
Checklist
Talked more about this we are going to go with allowing
@tagMetadatadecorator to be used in an altenrate way where you pass an array(with the exact same values you would pass to openapi.using another
@tagMetadataon the same service when the is one using the array form will be an error.New signature
Believe the signature can be defined as