You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The models builder currently defaults to using the first segment of an operation's path as its tag. Those tags are used as headings by the Swagger UI to group related routes together. My team follows a pattern of using an /api prefix for everything other than status checks, so we end up with one big block of routes in the UI:
Ideally, we'd like to be able to override the tags to manually group things ourselves.
I'd be happy to contribute this change, as long as it hasn't been left out for a reason.
The text was updated successfully, but these errors were encountered:
I agree, you should be able override those tags and as far as I know there isn't a particular reason why, just never added as a feature. I imagine tagging would work similar to the way the description is added.
If you want to contribute a patch, I'll be happy to review it and get it added in.
The models builder currently defaults to using the first segment of an operation's path as its tag. Those tags are used as headings by the Swagger UI to group related routes together. My team follows a pattern of using an
/api
prefix for everything other than status checks, so we end up with one big block of routes in the UI:Ideally, we'd like to be able to override the tags to manually group things ourselves.
I'd be happy to contribute this change, as long as it hasn't been left out for a reason.
The text was updated successfully, but these errors were encountered: