Base solution for your next web application
Open Closed

Disable Dynamic web api #1490


User avatar
0
paddyfink created

Hello,

I've created a separate web api project to provide public web serices to our clients. I have thoses services auto generated: AbpCache, AbpServiceProxies and ServiceProxies.

How can I disable to generation of those endpoints? I don't want them to appear on the API documentation (like swagger).

Thanks


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can use DocumentFilter for swagger UI, please check this forum post #809@76c014ab-6bfd-4ffb-a317-f14aad11d954

    If you want to hide these controllers completely, we dont have a solution for that yet. You can create an issue on aspnetboilerplate github repo <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate">https://github.com/aspnetboilerplate/aspnetboilerplate</a> and we can consider that.