Есть ли способ изменить имя контроллера на странице swagger-ui?C#

Место общения программистов C#
Гость
Есть ли способ изменить имя контроллера на странице swagger-ui?

Сообщение Гость »


I'm using Swashbuckle to enable the use of swagger and swagger-ui in my WebApi project.

In the following image you can see two of my controllers shown in the swagger-ui page. These are named as they are in the C# code, however I was wondering if there was a way to change what is shown here?

This is mainly because as you can see ManagementDashboardWidget is not a user friendly name, so I want to change it to be user friendly.


Изображение



Источник: https://stackoverflow.com/questions/370 ... er-ui-page

Вернуться в «C#»