As another option, also mentioned here, you can modify the endpoint/endpoints passed to the documentation interpreter with the authentication inputs/outputs, so that you do get at least some documentation, even if the actual logic is somehow more complex.