Swagger UI displaying the asp.net webapi parameter name with dot notation
问题 I have configured Swagger for my asp.net webapi which is similar to one shown below [HttpGet] [Route("search")] public async Task<HttpResponseMessage> Get([FromUri]SearchCriteria searchCriteria) When i see the swagger documentation for the webapi , the parameter is displaying as searchCriteria.sortField searchCriteria.sortDirection and so on... being the sortField, sortDirection are properties of SearchCriteria How to get the parameter names without the object.propertyname format? Can anyone