Can I know how to disable flask restplus endpoint?
I am trying to do something like when a condition does not meet, the endpoint is disabled and cannot be accessed.
Is there a way we can do this in flask restplus or custom code is required?
I know that we can disable the endpoint in swagger documentation. However, that doesn't disable the endpoint as it stills can be accessed via curl. http://localhost:8080/api_endpoint/