Reputation: 9624
I want to turn off the automatic WebAPI generation service for a specific application service in my ABP project.
Upvotes: 2
Views: 608
Reputation: 9624
RemoteService attribute can be used to mark a class as a remote service or disable for a particular class that inherently implements the IRemoteService interface
[RemoteService(false)]
public class PersonAppService : ApplicationService
{
}
if you just want to hide from Swagger
[RemoteService(IsMetadataEnabled = false)]
public class PersonAppService : ApplicationService
{
}
Upvotes: 7