Refactor route on AbpApiDefinitionController.

pull/122/head
Halil İbrahim Kalkan 7 years ago
parent 36f99942a3
commit 326a673703

@ -3,7 +3,7 @@ using Volo.Abp.Http.Modeling;
namespace Volo.Abp.AspNetCore.Mvc.ApiExploring
{
[Area("abp")]
[Route("api/abp/api-description")]
public class AbpApiDefinitionController : AbpController
{
private readonly IApiDescriptionModelProvider _modelProvider;
@ -14,7 +14,6 @@ namespace Volo.Abp.AspNetCore.Mvc.ApiExploring
}
[HttpGet]
[Route("api/abp/api-description")]
public ApplicationApiDescriptionModel Get()
{
return _modelProvider.CreateApiModel();

Loading…
Cancel
Save