Abp: How do I hide the default exposed APIs ?

Created on 2 Jul 2020  路  6Comments  路  Source: abpframework/abp

I don't require the default APIs ABP exposes, for one of my project. How can I hide or not expose these APIs?

The snapshot below shows some the APIs that I need to hide.

image

The project is created using abp.io with Angular as the frontend.

All 6 comments

Thanks @liangshiw
But I don't meant to hide these APIs from the Swagger only. Instead, I don't want to be able to execute these APIs via Postman or Browser also.

Hi @liangshiw ,
I did the as the link referred to. But I am still seeing those APIs in Swagger.

Is there anything more to do?

It works.

image

Thanks @liangshiw ,

I wrote the wrong Controller Name. Thanks again for all the help. :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

hikalkan picture hikalkan  路  3Comments

zsanhong picture zsanhong  路  3Comments

Trojaner picture Trojaner  路  3Comments

hikalkan picture hikalkan  路  3Comments

hitaspdotnet picture hitaspdotnet  路  3Comments