Hi, I have many modules that inherit from ApplicationService and Swagger shows all the methods correctly with parameters, dto and so on. I've added a new file in order to manage files upload, inheriting from AbpController; the methods works but aren't showed by Swagger . I've noted that also yours controller methods like UploadProfilePicture is not showed. There is some settings to view also the AbpController methods in Swagger ?
Thanks
4 Answer(s)
-
0
Hi,
Do you use AspNet Mvc 5.x or AspNet Core ?
-
0
I use AspNet Core version 3.2.0.0
-
0
Hi,
Can you try to add route attribute to your controller like we did here <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Core/Controllers/TokenAuthController.cs">https://github.com/aspnetzero/aspnet-ze ... troller.cs</a> ?
-
0
Great ismcagdas ! It works
Thank you so much.