diff --git a/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApiExploring/AbpApiDefinitionController.cs b/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApiExploring/AbpApiDefinitionController.cs index 869f1ba136..493eaef389 100644 --- a/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApiExploring/AbpApiDefinitionController.cs +++ b/src/Volo.Abp.AspNetCore.Mvc/Volo/Abp/AspNetCore/Mvc/ApiExploring/AbpApiDefinitionController.cs @@ -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();