Closed digiofficerobin closed 1 year ago
Tags with commas are not supported, you need to use multiple [Tag]
attributes to apply multiple tags to a Request DTO:
[Tag("Tag1"),Tag("Tag2")]
[Route("/projects", "GET")]
public class GetProjects : IReturn<List<Project>>
{
public string SearchCriteria { get; set; }
}
I don't want to add multiple tags by hand for every release, but I want to tag the services automatically from the initial release when the request was introduced to the current release. I'll try to use the https://docs.servicestack.net/reflection-utils#dynamically-adding-attributes feature to add the in-between release tags.
Describe the issue
Create a request with tags, such as this:
We can conveniently filter all requests in the metadata page with tag1, tag2 or tag3, but not in API Explorer or Swagger.
We want to use this tagging feature to decorate APIs which are available since a certain release. I have made a ReleaseTagAttribute to automatically determine the in-between releases.
Example in metadata page with release number decoration on the two GetProjects requests:![image](https://user-images.githubusercontent.com/16424069/217566465-70926508-541f-4bcc-882b-e6ee3c46293d.png)
In API Explorer the commas are not separated as different groups:![image](https://user-images.githubusercontent.com/16424069/217566950-2185e5eb-c3d2-4853-819d-a11eea69de60.png)
In Swagger UI the tags are also not seen as unique tags:![image](https://user-images.githubusercontent.com/16424069/217567292-e0b82975-bf10-4a3a-9882-9f551c933fb4.png)
Can this issue be solved one way or the other?
Reproduction
see issue description
Expected behavior
see issue description
System Info
Additional context
No response
Validations