I have to API end point one is product and another is price, I want to hide price API from swagger documentation. How will I achieve this?
urlpatterns = [
url(r'^v1/products', include('project.products.v1.product_urls')),
url(r'^v1/price', include('project.products.v1.price_urls')), ]
use swagger_schema = None, order to exclude the view from schema generation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With