-
-
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
[BUG] [v2] Swagger WithSummary / WithDescription metadata doesnt show up on the UI #910
Comments
Hello @iammukeshm , I quickly took a look. I saw this issue was present with .NET7 (dotnet/aspnetcore#40753). I don't know if the issue has been correctly fixed. Inside comments, it is indicated to use WithOpenApi to get around the problem. I tested and it works. |
Hi @fcantenot, I have seen something similar to this, and tried fixing it. I was able to make the Swagger UI display the correct summary and description, but I was not able to hit the API endpoint. It was giving me a 404 exception. Are you able to access the APIs? If so, can you please take the latest changes from v2 and raise a new PR with this fix? |
domaindrivendev/Swashbuckle.AspNetCore#2414 I think this is the fix for this issue. Let's see if this gets merged anytime soon! |
sorry @iammukeshm , I tried but we have an error like you mentioned. If we use "WithOpenApi", summary & description are ok but versioning is ko as you can see with the curl command I searched but it seems it is also a bug or I don't know how to get around. |
Hey 👋🏼 |
The text was updated successfully, but these errors were encountered: