-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Controllers not sorted alphabetically when using includeControllerXmlComments #2162
Comments
+1 for this.
To apply the filter add it during Swagger initialization:
|
In newer versions, this seems to work without the need for any customisation. ASP.NET Core 5.0.11 |
Unfortunately the issue is still present. ASP.NET Core 6.0 + Swashbuckle.AspNetCore 6.3.0. I will open a new issue. |
Hey @lscorcia I've reopened for you. |
Thanks @lonix1 ! I prepared a small repro project at https://github.com/lscorcia/UnsortedControllersRepro . Please let me know if you need any additional information. |
@lscorcia Sorry to disappoint but I'm not a repo member... I was the one who reported the original problem. 😃 Hope you get your problem fixed. |
@lscorcia I think this is a side-effect of the fact that if you add |
#2565 should fix this. |
Duplicates #1757 |
Environment
aspnet: 5.0.301
Swashbuckle.AspNetCore: 6.1.4
Background
I created a minimal swashbuckle implementation. All I have is:
And I added
<summary>
xml comments to my controllers.Problem
If I use
includeControllerXmlComments:false
then the controllers are sorted alphabetically.But if I use
includeControllerXmlComments:true
then the controllers are not sorted alphabetically.The text was updated successfully, but these errors were encountered: